View Single Post
Old 12-24-2001, 07:29 PM  
AWC
Confirmed User
 
Join Date: Aug 2001
Location: Bumfuck
Posts: 1,223
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).]
AWC is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote