I wana expand the statistics capability of a new personal project of mine (flash blogg).. i wanted to know how one can check for referrers and spiders so that i can see where my viewers are coming from and what search engines indexed my site.

Basic idea and function of these would do...

Tea

    the predefined variable $SERVER['HTTP_REFERER'] will show the referring url (if any, and if the user's browser sends it on). you can parse that out to get the domain and log the entire url. the variable $SERVER['HTTP_USER_AGENT'] will contain the user agent of the person like what browser opera, ie, netscape. some spiders will identify themselves thru this variable, i.e. Googlebot, Inktomi Slurp, Alexa (IA Archiver), WISENutbot (Looksmart) just to name a few.

      ahh.. simple as that ei? thanks.. now i know where to go.

      thanks again

      Tea

        Write a Reply...