Forum Moderators: coopster & phranque

Message Too Old, No Replies

FormMail Trouble

         

rmcleod79

10:36 pm on Apr 25, 2004 (gmt 0)



Hi I'm trying to setup FormMail on my own server (IIS on windows XP) at the moment I've just done a mock form to test it but keep getting the following error:
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

Bad name after REMOTE_HOST' at c:\inetpub\wwwroot\cgi-bin\FormMail.pl line 52.

Any help would be much apreciated!

MichaelBluejay

6:10 am on Apr 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I don't know anything about IIS (Apache here) but maybe the problem is with your HTML code or your Perl code. Since no one else has chimed in I guess it can't hurt for you to post the code for your HTML form.

Also, your FormMail.pl, is that something you downloaded from somewhere, and if so did you change it at all? I use the form mail script that my webhost has preinstalled so I've never gone looking for any other way to do form mail.

Finally, are you able to run *any* Perl scripts okay?