http_referer

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • ojorus

    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


  • ZeldorBlat

    #2
    Re: http_referer

    On Jun 27, 10:11 am, "ojorus" <ojo...@hotmail .comwrote:
    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.

    Comment

    • ojorus

      #3
      Re: http_referer


      "ZeldorBlat " <zeldorblat@gma il.comskrev i melding
      news:1182953857 .665568.320550@ u2g2000hsc.goog legroups.com...
      On Jun 27, 10:11 am, "ojorus" <ojo...@hotmail .comwrote:
      >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! :-)


      Comment

      • Tyno Gendo

        #4
        Re: http_referer

        ojorus wrote:
        "ZeldorBlat " <zeldorblat@gma il.comskrev i melding
        news:1182953857 .665568.320550@ u2g2000hsc.goog legroups.com...
        >On Jun 27, 10:11 am, "ojorus" <ojo...@hotmail .comwrote:
        >>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_refere r 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?

        Comment

        Working...