SilverNodashi
Expert Member
- Joined
- Oct 12, 2007
- Messages
- 3,337
I want to track some usage stats on email, and thought of putting the image that I use in a tracking script, and then add that to the email.
But, I can't get it to work. The code I have is as follows:
and from what I have read on the internet, this should work, but as soon as I put it into an HTML file, it doesn't show the image. I get a broke image sign, yet accessing http://www.mydomain.com/newsletter/newsletter.php?campaign=14Dec09&uid=45 directly in the browser shows the image fine.
the PHP script itself has the following code:
Does anyone know how todo something like this?
But, I can't get it to work. The code I have is as follows:
HTML:
<img src="http://www.mydomain.com/newsletter/newsletter.php?campaign=14Dec09&uid=45" />
and from what I have read on the internet, this should work, but as soon as I put it into an HTML file, it doesn't show the image. I get a broke image sign, yet accessing http://www.mydomain.com/newsletter/newsletter.php?campaign=14Dec09&uid=45 directly in the browser shows the image fine.
the PHP script itself has the following code:
HTML:
<HTML>
<TITLE>Season Greetings from SoftDux</TITLE>
</HTML>
<body>
<center>
<img src="http://www.mydomain.com/newsletter/dec_2009.jpg">
</center>
<?php
// PHP code goes here
Does anyone know how todo something like this?