Question : CGI Mailer script

I have the cgi mailer script all put in the form, the problem is, when I click on the submit button it can't find the cmail.cgi page. This is the page itself http://carnyreports.freeservers.com, if anyone could help me out with it, that would be really cool.

Answer : CGI Mailer script

Your HTML looks fine to me. Next, there could be 4 cases to be checked..

Case 1:
Check whether cmail.cgi actually resides in the cgi-bin directory.

Case 2:
Check whether its execute permission is set. If u are using any FTP software to upload your file( like ws_ftp ) u can right click on the uploaded file name and go to "chmod(UNIX)" option and it will show u a new window with all the permissions of the file. U just need to "check all the execute check boxes."
OR
If u have direct access to the server, u can go to the cgi-bin directory and run the command "chmod a+x cmail.cgi". This command will set the execute permission for this file.

Case 3:
Check whether first line of the output of cgi code is content-type="text/html", followed by a blank line.

Case 4:
If your cgi program is coded in perl, try naming it cmail.pl
Random Solutions  
 
programming4us programming4us