getting country stats

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

    getting country stats

    My client wants to see stats which tell him the number of hits he's getting
    from different countries. I'm coding page hit count stats myself in PHP on
    his site, which is simple enough, but haven't dealt with this issue before.
    Can anyone give me the basic pointers and functions to use in collecting
    this type of data from hits?

    thanks
    -dg


  • R. Rajesh Jeba Anbiah

    #2
    Re: getting country stats

    "dan glenn" <dan_danboy@yah oo.com> wrote in message news:<jiy0b.248 6$yC.188031145@ newssvr13.news. prodigy.com>...[color=blue]
    > My client wants to see stats which tell him the number of hits he's getting
    > from different countries. I'm coding page hit count stats myself in PHP on
    > his site, which is simple enough, but haven't dealt with this issue before.
    > Can anyone give me the basic pointers and functions to use in collecting
    > this type of data from hits?[/color]


    Comment

    • Martin C. Petersen

      #3
      Re: getting country stats

      "dan glenn" <dan_danboy@yah oo.com> skrev i en meddelelse
      news:jiy0b.2486 $yC.188031145@n ewssvr13.news.p rodigy.com...[color=blue]
      > My client wants to see stats which tell him the number of hits he's[/color]
      getting[color=blue]
      > from different countries. I'm coding page hit count stats myself in PHP on
      > his site, which is simple enough, but haven't dealt with this issue[/color]
      before.[color=blue]
      > Can anyone give me the basic pointers and functions to use in collecting
      > this type of data from hits?[/color]
      How about using this (also used by php.net):


      An alternative would be to do reverse lookup on the ip's and use the tld,
      but the first method is probably better since the latter would not always be
      possible..


      Martin


      Comment

      • KAH

        #4
        Re: getting country stats

        "Martin C. Petersen" <mcp@phys.au.dk > wrote in
        news:3f42fc7c$0 $83066$edfadb0f @dtext01.news.t ele.dk:
        [color=blue]
        > An alternative would be to do reverse lookup on the ip's and use the
        > tld, but the first method is probably better since the latter would
        > not always be possible..[/color]

        Would resolve to .net domains in most cases.

        KAH

        Comment

        Working...