Page 1 of 1

Find referring website

Posted: Fri Dec 11, 2009 1:54 pm
by laurav_00
Hi, I am brand new to PHP and I have a question. If somebody has a link on their website that links to my website, is there a way for me to use PHP to tell me the website that referred the user to my website? Hope that makes sense.

thanks
Laura

Re: Find referring website

Posted: Fri Dec 11, 2009 1:58 pm
by AbraCadaver
$_SERVER['HTTP_REFERER'] but it's not always set.