TeamPhotoshop
Reviews, updates and in depth guides to your favourite mobile games - AppGamer.com
Forum Home Latest Posts Search Help Subscribe

sending a form to email (perl script)

Page: 1 Reply
Aug 12th 2002#64333 Report
Member since: May 30th 2002
Posts: 23
i have a problem. i found a script that will take info from a form and email it to an email address. that is perfect.

i have edited the .cgi file and put it into the /cgi-bin directory on the webserver, etc, etc. but whenever i submit the form it brings up this error.

-------error-------
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email address] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.



--------------------------------------------------------------------------------

Apache/1.3.12 Server at www.[website].com Port 80
-------error-------

i have gotten to the same error with all the different type of form emailer scripts.

any ideas? on what could be wrong?

i am well and truely cluess,
thanks
Reply with Quote Reply
Aug 12th 2002#64346 Report
Member since: Mar 20th 2001
Posts: 3367
Was the perl script uploaded in ASCII mode? And has it been chmoded to 755 to make it executable?

Both can be done through your FTP program.
Reply with Quote Reply
Aug 12th 2002#64403 Report
Member since: Jun 30th 2001
Posts: 447
If what sidez said doesn't work, then you might have to login to your shell and type:

perl /path/to/cgi-bin/yourscript.cgi

It will give you an error message or two. Post the error message(s) here if you can't decipher them. Or post the entire script if you can't do what I said.
Reply with Quote Reply
Page: 1 Back to top
Please login or register above to post in this forum