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).
Bookmarks