Page 1 of 1

Referrals

Posted: Fri Apr 02, 2004 2:51 pm
by DGW
I notice on some websites that they will have a list of Referrals. This list shows all the websites that directed the users to their page. So most are like google or yahoo.

I was wondering how I can do that for my webpage? Although I don't get as many hits, I just want to see out of curiousity.

thanks

Re: Referrals

Posted: Fri Apr 02, 2004 3:25 pm
by TheBentinel.com
The referrer (if one was provided) is available in $_SERVER['HTTP_REFERRER']

Posted: Mon Apr 05, 2004 3:04 am
by twigletmac
$_SERVER['HTTP_REFERRER'] should be $_SERVER['HTTP_REFERER'] only one r in the middle :) .

Mac