Hi,
I'm putting together a tracking system on my site to track visitors. It uses the <img src="track.php"... method to plant the tracker onto multiple pages.
I've got the referer part working alright but when i try to put together a "Top 10 pages" list i've hit a brick wall.
I need to establish the url of the page that contains the img statement. For example, if the file was linked from www.foo.com, with the statement 'img src="http://www.bar.com/script.php"', how can the script on www.bar.com tell that the script is being called from foo?
I've tried "$REMOTE_ADDR" and "$_SERVER['REQUEST_URI']" without any success.
Any suggestions much appreciated,
Don