Hello,
I want to keep track of the urls where my user's come from. I put in the code for the referer and it does not seem to work. This is the code i have at the top of the page.
<? $url=$_SERVER['HTTP_REFERER'];
echo $url; ?>
Now when i go to yahoo.com and come back to the index page where this code is, it doesnt echo the variable which means the referer is wrong. maybe i am not getting the concept of this thing right? Is there a way to get where users come from.