1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Getting Visitor's Country with PHP using Geo IP

Discussion in 'PHP' started by pradeep, Mar 21, 2007.

  1. rendra_mm2

    rendra_mm2 New Member

    Joined:
    Jul 10, 2009
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    Freelancer
    Home Page:
    Please Help me ... Can u send another link 4 me, 2 download the CSV file
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,283
    Likes Received:
    364
    Trophy Points:
    83
    I am not sure why you should not. The attachments are for all members to download.
     
  3. LenoxFinlay

    LenoxFinlay Banned

    Joined:
    Apr 15, 2009
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    0
    Sometimes you just need to know what country your site visitors are coming from—for example, if you're trying to implement geo-targeted advertising. That's where a tool like MaxMind's GeoIP comes in—it lets you easily extract geographic data from your visitor's IP address.
    MaxMind makes available both commercial and free databases; the commercial ones are extremely precise and can get as fine-grained as the user's city, while the free version can only identify the country of origin. We'll use the free version in this article. If you need more detailed information, such as the remote client's city and state of origin, you will need to purchase a more detailed database from MaxMind.
     
  4. iglow

    iglow New Member

    Joined:
    Dec 13, 2009
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    0
    and can somebody give a code which allows to redirect users to special pages depending on their country [for example peopl from usa/uk/ca to english.htm, from france,belgium to french.html, rest to rest.html] ?
    can it be done with php similar to what was shown here?
     

Share This Page