PDA

View Full Version : Error message when calling the form page



espann
21-Aug-2006, 05:03 AM
I downloaded the formmail script and I'm trying to configure it to work to send the form to a csv file on my server. Originally I got the sample form to work, but when I changed the formmail.php to allow this it stopped working. I've tried to track down the problem but so far no luck. Can anyone help? Here is the URL that calls the test page: http://www.contractsmgt.com/contractsformmail/sampleform.htm
And this is the error that returns:
>>Error message from formmail:
>>Parse error: parse error, unexpected ':', expecting ')' in /homepages/38/d159778277/htdocs/ContractsUnlimited/ContractsFormMail/contractsmgt-formmail.php on line 3123
I have attached the "contractsmgt-formmail.php" which is my reconfiguration of the "formmail.php" file

Thanks,
Ed Spann

crabtree
21-Aug-2006, 12:47 PM
this means youve corrupted the PHP code when you modified formmail.php

you need a fresh download and to be much more careful

make sure you use a simple editor like Notepad....other progs can corrupt PHP code without you knowing