Page 1 of 1
[SOLVED] Code for resolving the page where the visitor went
Posted: Mon Jun 07, 2004 2:24 pm
by Calimero
When someone leaves my site, is there a way to find out where he/she went. And also if soomeone comes to my site, how can I find the refferer.
I need this code to implement into my page (on my website) rather then already written bulk package for all kinds of tracking.
Thanks ahead !!![/big_search]
Posted: Mon Jun 07, 2004 2:42 pm
by feyd
you could process all external links on your pages through a processing script which stores where they are going to. As for getting the referrer, if it's available (which is not guaranteed) it'll be in $_SERVER['HTTP_REFERRER']
Posted: Mon Jun 07, 2004 3:20 pm
by mudkicker
it's not REFERRER, REFERER as i know ?!?!?

Posted: Mon Jun 07, 2004 4:13 pm
by feyd
just don't bank on it existing.. is all I want to impress on Calimero
Posted: Mon Jun 07, 2004 5:39 pm
by launchcode
feyd - I think mudkicker was implying you spelt it wrong, that's all

It's one R, not two. Well.. I mean you spelt it right re: English, but that isn't what PHP/Apache calls it - ahhh.. you know what I mean damnit!

Posted: Mon Jun 07, 2004 7:33 pm
by feyd
yeah.. I always forget those pesky programmings in the back room misspelled it who know how long ago.. and can't change it now.. oops.