|
Make sure your path to PERL is correct on the top line:
#!/usr/bin/perl
Make sure your path to sendmail is correct:
$mailprog = '/usr/lib/sendmail';
Uncomment (remove the # from the referrer line... this limits other domains from spamming your sendmail)
@referers = ('255.255.255.255,'yourdomainname.com','www.yourdo mainname.com');
Load to your cgi-bin in ascii mode
CHMOD the file 755
Call the script from your form and you should be good to go.
Good Luck!
[This message has been edited by AWC (edited 12-24-2001).]
|