Hi There,
I Have this script whish should send info to me via email with the edited fields fulled in by the user, they should then get a email confirming this. But getting errors when uploaded to server the dreaded 500 Internal Server Error. When I look at this script in detail the errors seem to be coming from the 3rd line.
$mail_prog = '/usr/sbin/sendmail' -froot@willettsbutchers.co.uk; Warning: Content-Type header not found in the script output. Array found where operator expected at willettsform.cgi line 3, at end + of line Unquoted string "co" may clash with future reserved word at willettsfo +rm.cgi line 3. Unquoted string "uk" may clash with future reserved word at willettsfo +rm.cgi line 3. syntax error at willettsform.cgi line 3, near "froot@willettsbutchers" Execution of willettsform.cgi aborted due to compilation errors
Please can you help as I know nothing about scripting and have not got a clue what this means.
rbspro
Retitled by davido from 'snytax errors'.
In reply to Tracking down the source of '500 server' errors by rbspro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |