[SOLVED] show referer
Moderator: General Moderators
show referer
I was wondering if there was a way to see what page a person was refered from to my page. For example, if the person was on http://www.sitea.com, and they clicked a link on that site that leads to http://www.mysite.com, is there a way to find out what site a is, using php? thanks.
Code: Select all
if(!empty($_SERVER['HTTP_REFERER'])){
echo $_SERVER['HTTP_REFERER'];
}