Thanks Guys
I'm not sure if the problem lies with the script of my hosting companies security features?
(I've got no other cgi-bin capable web space to test the script on)
As Rieekan confirmed, this is what my hosting company said I needed to add for security issues, it had to be linked with one of my email accounts with them -
'you need to do -fwebmaster@mydomainname.com'
So this is what I ended up with -
$mailprog = qq|/usr/sbin/sendmail -fwebmaster@mydomainname.com|;
$myemail = qq|webmaster@mydomainname.com|;
But, still doesn't work, the links are being clocked, but no emails are being sent out?
Basically I was after a script that I could use with my already existing few thousand url's.
The 'Link Tracker' script worked nearly ok, it allowed me just to add a little extra to the front of the urls, eg,
but I'm having big problems getting the sendmail bit to work, this would send an email to the customers every time their url link was clicked.
The script in very simple terms allows every customers url to be logged every time a user clicks on it and emails the customer to advise them that this has happened.
I can view logs and add emails to send to, from within an online admin area, viewable from a browser.
So I'm looking for a new script or maybe see about getting one customized for the job in hand?
Any suggestions, very welcome.
Many thanks, Craig.