steven
06-11-2007, 07:48 PM
I'm trying to get the formmail script from Matt's Script Archive to work.
Without success so far. :confused: Help needed!
The webpage is www.vancat.org/contact.htm
The code in the form is:
<form method="POST" action="/cgi-bin/formmail.pl" name="feedback" id="feedback">
<input type=hidden name="recipient" value="webmaster@vancat.org">
<input type=hidden name="subject" value="vancat.org feedback">
<input type=hidden name="redirect" value="http//www.vancat.org/feedbackthankyou.htm">
The formmail.pl file is in the cgi-bin directory in the public_html directory, and its file permissions have been set to 5,5,5
In the formmail script the following has been set:
$mailprog = '/usr/bin/sendmail -i -t';
@referers = ('vancat.org','67.159.44.156');
@recipients = ('^webmaster\@vancat\.org');
Without success so far. :confused: Help needed!
The webpage is www.vancat.org/contact.htm
The code in the form is:
<form method="POST" action="/cgi-bin/formmail.pl" name="feedback" id="feedback">
<input type=hidden name="recipient" value="webmaster@vancat.org">
<input type=hidden name="subject" value="vancat.org feedback">
<input type=hidden name="redirect" value="http//www.vancat.org/feedbackthankyou.htm">
The formmail.pl file is in the cgi-bin directory in the public_html directory, and its file permissions have been set to 5,5,5
In the formmail script the following has been set:
$mailprog = '/usr/bin/sendmail -i -t';
@referers = ('vancat.org','67.159.44.156');
@recipients = ('^webmaster\@vancat\.org');