PDA

View Full Version : "mailto:" email counter


AntonS
06-26-2002, 11:11 AM
Hi!

I'm making a counter to count emails sent from web site by "mailto:".

The code:

function mailsend() {
var rndnum = Math.round(Math.random() * 10000);
picture = new Image(); picture.src = "email_log.php?nocache=" + rndnum;
return true;
}

document.writeln(' <A HREF="mailto:..." onClick="javascript: mailsend();">...</A><br> ');

It works on my computer, but doesn't exec the php script in Internet. Could you advise what can be the problem?

Thanks

tamienne
06-26-2002, 04:07 PM
try fully qualifying your image source.

http://www.yourdomain.com/phpdirectory/email.log.php...

AntonS
06-27-2002, 04:08 PM
subj

Thanks