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
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
Comment