Click to See Complete Forum and Search --> : FormMailer problem


Grunty
01-29-2004, 06:02 AM
I am trying to get a FormMailer to work. It has CHMOD permissions of 755 and has been uploaded to the CGI-BIN directory in ascii format.

When I submit the form, I get a Download File prompt asking me if I want to open or save "formmail.cgi"

I have a feeling that this is some sort of execution permissions issue but am stuck now.

Would be grateful for any pointers

Thanks

Sam
01-29-2004, 06:43 PM
usually, when cgi/perl files try to download rather than display, it means one of 2 things, the server doesn't have perl installed, or the script is blatently broken to the point where the interpreter on the server assumes its a bad file extension

Grunty
01-30-2004, 03:41 AM
Thanks, I will take a look at the script first, it has already been altered by someone else and may be faulty.

The formmail.cgi file was supplied by the Hosting company and their FAQ's give the standard instructions for its use on their servers, so i have to assume that the server has perl.

Thanks for your response.