I want to be able to embed the html <img src="image.php?variable1=2&othervariable=34"> into a html script.
The point is that I want to be able to dynamically generate these variables to allow me to track who is viewing the images. So the php script "image.php" will use the variables to log tracking info, and then serve the image.
But how do I actually get it to serve the image?