Web Analytics Made Easy -
StatCounter "mailto:" email counter - CodingForum

Announcement

Collapse
No announcement yet.

"mailto:" email counter

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • "mailto:" email counter

    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

  • #2
    try fully qualifying your image source.

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

    Comment


    • #3
      doesn't work in this case too

      subj

      Thanks

      Comment

      Working...
      X