I have been up and down this code for a while now and have no clue what is the problem. I've allowed the chmod to be 755. Also uploaded it in ASCII format.
here is the code, please help.
form:
<form name="formmail" action="http://www.mydamain/cgi-bin/FormMail.pl" method="post">
<INPUT TYPE="HIDDEN" NAME="recipient" VALUE="info@mydomain.com">
<INPUT TYPE="HIDDEN" NAME="subject" VALUE="ARMS Entertainment Mailing List">
<INPUT TYPE="HIDDEN" NAME="redirect" VALUE="http://www.mydomain.com/thanks.htm">
<INPUT TYPE="HIDDEN" NAME="required" VALUE="email,your_name,address,city,state,phone">
<input type=hidden name="sort" value="your_name,address,city,phone,state,email">
Formmail.pl file
Line 1: #!/usr/bin/perl -wT
$mailprog = '/usr/lib/sendmail -oi -t';
@referers = qw('www.mydomain.com','mydomain.com');
@allow_mail_to = qw('^mail\@mydomain\.com);
@valid_ENV = qw('REMOTE_HOST','REMOTE_ADDR','REMOTE_USER','HTTP_USER_AGENT');
I hope someone knows the issue...I'm clueless at this point.
Thank you in advance
use CGI::Carp qw(fatalsToBrowser);
This will send any perl error messages to the browser. Just remember to remove it before going to production. It yours is a perl error, that will display the message. If not, you should increase your server's LogLevel, and take a look at what's happening in the server logs.