animalssj
12-27-2002, 04:34 AM
I am having some trouble with my FormMail.pl
i have it configured as such;
$mailprog = '!/usr/sbin/sendmail -i -t';
@referers = ('[mydomain.com]','[myipaddress]');
@recipients = ('^webmaster\@mydomain\.com');
@valid_ENV = ('REMOTE_HOST','REMOTE_ADDR','REMOTE_USER','HTTP_USER_AGENT');
it's not working, i have permissions set at 777
this is my code in my webpage too.
so confused
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Subscribe to The Weekly Newsletter!</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#000066">
<div align="center">
<form name="form1" method="post" action="cgi-bin/FormMail.pl">
<table width="242" height="86" border="0">
<tr>
<td><p align="left"><font color="#0099FF" face="Arial, Helvetica, sans-serif">Type
your e-mail address here and click submit to receive the weekly newsletter!</font></p>
<p align="left">
<input name="textfield" type="text" value="Enter your e-mail" size="29" maxlength="29">
<input type="submit" name="Submit" value="Submit">
<input type=hidden name="recipient" value="webmaster@mydomain.com">
</p>
<p></p>
</td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<p> </p>
</form>
</div>
</body>
</html>
what am i missing?? i feel like im banging my head against a wall.
thanks!
animalssj
i have it configured as such;
$mailprog = '!/usr/sbin/sendmail -i -t';
@referers = ('[mydomain.com]','[myipaddress]');
@recipients = ('^webmaster\@mydomain\.com');
@valid_ENV = ('REMOTE_HOST','REMOTE_ADDR','REMOTE_USER','HTTP_USER_AGENT');
it's not working, i have permissions set at 777
this is my code in my webpage too.
so confused
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Subscribe to The Weekly Newsletter!</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#000066">
<div align="center">
<form name="form1" method="post" action="cgi-bin/FormMail.pl">
<table width="242" height="86" border="0">
<tr>
<td><p align="left"><font color="#0099FF" face="Arial, Helvetica, sans-serif">Type
your e-mail address here and click submit to receive the weekly newsletter!</font></p>
<p align="left">
<input name="textfield" type="text" value="Enter your e-mail" size="29" maxlength="29">
<input type="submit" name="Submit" value="Submit">
<input type=hidden name="recipient" value="webmaster@mydomain.com">
</p>
<p></p>
</td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<p> </p>
</form>
</div>
</body>
</html>
what am i missing?? i feel like im banging my head against a wall.
thanks!
animalssj