Multiple FormMail.pl scripts ???
I have two different forms on my site:
Not only do I want each form to go to a different person, I would like to have the autoreply message contain different text. So, I've created the two versions of the FormMail script above. As you can see, they reside in different folders on the server. Both are CHMOD 775.
The contactus form works flawlessly.
However, when I edit the FormMail.pl script in any way (specifically the autoreply text) and try to submit the form from the sponsorship page, I receive an Internal Server Error.
If I use the FormMail.pl script from the contact page and place it in the /form2/ folder, works flawlessly.
Something is not allowing me to edit the second script.
For example: I only added the word "CHANGE" in the first line of the autoresponder text (CHANGE Thank you for your form submission. We appreciate your interest in Cactus Ropes - the official rope of the PRCA.) to cause the form to fail.
I also tried having the two scripts reside in the same folder, but with different names. Same results.
I would appreciate anyone (with more knowledge than myself - not hard) to please take a look and try and tell me what the problem is.
Thank you in advance for your help. If you need more information, please let me know.
What program are you using to edit the script? Are you using a plain text editor like Windows Notepad ... or an html editor like Dreamweaver, etc.? You need to use a plain text editor, as Dreamweaver (or similar) will often corrupt a script.
Also, the script must be uploaded in ascii mode and chmod (755 probably).
I was using DW. I just started with a fresh download of the script and started over and waalaaa - everything worked. Thanks for your input.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)