I am trying to get an email form script to work on a unix server. I got the script from the very popular Matt's Scrpit Archive. When I try to run the script I keep getting the same error:
The server encountered an internal error or misconfiguration and was unable to complete your request.
I don't have direct access to my error logs but my host company gave me the following from the logs:
"Premature end of script headers: etc.."
I have set the path to perl and path to send mail according to the host compnay's specs but the srcipt just wont work. So my quesiton is:
1) If it's not the path, what could be wrong with the scrpit?
2) If there is nothing wrong with the script then what else could be wrong?
3) How can I troubleshoot this without asking my host compnay all the time?