Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Oct 2012
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    image beacon for email tracking

    I have a php 'beacon.php' script, which when loaded in the browser logs user info:

    PHP Code:
    $addr $_SERVER['SERVER_ADDR'];
    mysql_query("INSERT INTO tbl_email_beacon (server_addr) VALUES ('$addr')");
    header('Content-Type: image/gif');
    readfile("http://www.mydomian.com/images/yellowbox.gif"); 
    I have successfuly loaded this script from an image tag also in the browser:
    Code:
    <img src="http://www.mydomain.com/beacon.php" alt="" />
    However, when I try to send the image via an email, it doesnt render and doesnt run the script

    Does anyone have any ideas?

    Matt

  2. #2
    Master Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    5,000
    Thanks
    104
    Thanked 585 Times in 572 Posts
    You're going to need to show the raw email for anyone to comment on that.

    There is nothing wrong with the link you've shown above however html emails work a bit differently to html pages so you need to show us the raw code for it.
    Quote Originally Posted by deathshadow View Post
    So seriously, loosen up that tie, let out the belt, and try relating to normal people on the street instead of the gentleman's club crowd.

  3. #3
    New to the CF scene
    Join Date
    Oct 2012
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Here it is:

    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=iso-8859-1">
    <img src="https://www.evolutionfunding.com/matt_testing/beacon.php">


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •