RE: [PHP] Re: http referer

From: Date: Wed, 11 Jul 2001 09:54:00 +0000
Subject: RE: [PHP] Re: http referer
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-57332@lists.php.net to get a copy of this message
On 11-Jul-01 Henrik Hansen wrote: > jacky@activelifestyle.com (Jack) wrote: > > > 1. (*) text/plain > > > > Dear folks I was told that http referer can tell me where the user > > come from. But it does not work all the time, is there anything else > > that work better than this? Jack jacky@activelifestyle.com "Love your > > I should work if the user have a referer, a user has only a referer if > the user comes from another page to your page, because it dont work > might be because the user entered your page directly? > > You wont get a referer on: 1. Header redirect 2. Direct entry (as above) 3. anonymous proxy filters out the headers 4. user install "Privacy-protect" software 5. The browser doesn't support it. From one of my larger sites: mysql> select count(*) from stat; +----------+ | count(*) | +----------+ | 1391545 | +----------+ 1 row in set (0.00 sec) mysql> select count(*) from stat where urlid=5343192248684061102; +----------+ | count(*) | +----------+ | 348162 | +----------+ 1 row in set (1.69 sec) mysql> select (348162 / 1391545) *100.0; +---------------------------+ | (348162 / 1391545) *100.0 | +---------------------------+ | 25.02 | +---------------------------+ 1 row in set (0.00 sec) mysql> select conv(PASSWORD('[NO REFERRING URL]'),16,10); +--------------------------------------------+ | conv(PASSWORD('[NO REFERRING URL]'),16,10) | +--------------------------------------------+ | 5343192248684061102 | +--------------------------------------------+ 1 row in set (0.00 sec) So 25% of my traffic is not sending HTTP_REFERER ... YMMV. Regards, -- Don Read dread@texas.net -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it.

« previous php.general (#57332) next »