Hi all, I'm working on adding some logging functionality to a PHP image counter script that I wrote. The counter outputs an image representing the current number of hits and is used via an <img> tag. After it displays the image, the counter collects information about the user (browser version and OS, date and time of visit, ip, etc). I'd also like for it to log the referer, but because the counter is triggered via an <img> tag, the referer is always the page that has the <img> tag. Is there any other way to grab the referer that actually sent the user to the page that contains the counter? I'd like for the counter to work even when included in static HTML pages, so the including page cannot use any PHP to help facilitate this logging functionality.
I hope all that makes sense. Anyone have any suggestions on how to achieve what I'm after? ---Matt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php