I want to create a pixel that can be used to track certain activity on the site. I've got it working fine: I just mod_rewrite "spacer.gif" to a PHP app that does what I want it to do; but then I don't know how to actually return a blank pixel. Can anyone point me in the right direction?
Create a 1x1 blank pixel gif and then... Header("Content-type: image/gif"); readfile("/path/to/spacer.gif"); Why use mod_rewrite? Why not just do something like... href="/path/to/phpapp.php/spacer.gif" ? -philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php