http_referer

This is a discussion on http_referer within the PHP Language forums, part of the PHP Programming Forums category; Hi! I'm using $_SERVER['http_referer'] to see which site the visitors on my site is coming from. It works ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-27-2007
ojorus
 
Posts: n/a
Default http_referer

Hi!
I'm using $_SERVER['http_referer'] to see which site the visitors on my site
is coming from. It works OK, but as we all now, not all sites give
http_referer a value, i.e. miniclip.com.
What I DON'T understand is how my web-statistics program (awstats) can tell
me that a lot of the visitors on my site comes from miniclip.com. How can
awstats know, and http_referer don't?

// ojorus


Reply With Quote
  #2 (permalink)  
Old 06-27-2007
ZeldorBlat
 
Posts: n/a
Default Re: http_referer

On Jun 27, 10:11 am, "ojorus" <ojo...@hotmail.com> wrote:
> Hi!
> I'm using $_SERVER['http_referer'] to see which site the visitors on my site
> is coming from. It works OK, but as we all now, not all sites give
> http_referer a value, i.e. miniclip.com.
> What I DON'T understand is how my web-statistics program (awstats) can tell
> me that a lot of the visitors on my site comes from miniclip.com. How can
> awstats know, and http_referer don't?
>
> // ojorus


It's not the website that decides whether or not to provide the
referer (sic). The browser determines whether or not to send it.

Reply With Quote
  #3 (permalink)  
Old 06-28-2007
ojorus
 
Posts: n/a
Default Re: http_referer


"ZeldorBlat" <zeldorblat@gmail.com> skrev i melding
news:1182953857.665568.320550@u2g2000hsc.googlegro ups.com...
> On Jun 27, 10:11 am, "ojorus" <ojo...@hotmail.com> wrote:
>> Hi!
>> I'm using $_SERVER['http_referer'] to see which site the visitors on my
>> site
>> is coming from. It works OK, but as we all now, not all sites give
>> http_referer a value, i.e. miniclip.com.
>> What I DON'T understand is how my web-statistics program (awstats) can
>> tell
>> me that a lot of the visitors on my site comes from miniclip.com. How can
>> awstats know, and http_referer don't?
>>
>> // ojorus

>
> It's not the website that decides whether or not to provide the
> referer (sic). The browser determines whether or not to send it.
>

ah, sorry. my mistake! :-)


Reply With Quote
  #4 (permalink)  
Old 06-28-2007
Tyno Gendo
 
Posts: n/a
Default Re: http_referer

ojorus wrote:
> "ZeldorBlat" <zeldorblat@gmail.com> skrev i melding
> news:1182953857.665568.320550@u2g2000hsc.googlegro ups.com...
>> On Jun 27, 10:11 am, "ojorus" <ojo...@hotmail.com> wrote:
>>> Hi!
>>> I'm using $_SERVER['http_referer'] to see which site the visitors on my
>>> site
>>> is coming from. It works OK, but as we all now, not all sites give
>>> http_referer a value, i.e. miniclip.com.
>>> What I DON'T understand is how my web-statistics program (awstats) can
>>> tell
>>> me that a lot of the visitors on my site comes from miniclip.com. How can
>>> awstats know, and http_referer don't?
>>>
>>> // ojorus

>> It's not the website that decides whether or not to provide the
>> referer (sic). The browser determines whether or not to send it.
>>

> ah, sorry. my mistake! :-)
>
>


it might also do reverse DNS lookups on IPs in the logs?
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:57 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0