SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Non-Member
    Join Date
    Mar 2004
    Posts
    117
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Country IP's List

    Hi,

    Where can I get a list of country IP's ? Any suggestions? We want to block some countries to our store.

    Thanks,

  2. #2
    SitePoint Evangelist gollux's Avatar
    Join Date
    Feb 2005
    Location
    Oregon, USA
    Posts
    414
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hmm, interesting but given the nature of ip address asignment, probably a Sysiphian task. GeoIP tries to identify geographic information from addressing.

    GEOIP

    Just be prepared for a lot of flat out wrong or misplaced identification of origination. I've seen stuff off by 2000 miles and in a whole different country, so I quit considering it for demographics. If someone is really determined, they will just remote proxy and get to your site that way.
    Released under the Fiasco Labs Digital Damnation Copywright,
    it's yours to make whatever the 7734 you want with it.

    (c) 2005 Fiasco Labs All Wrongs Reserved

  3. #3
    I am obstructing justice. bronze trophy fatnewt's Avatar
    Join Date
    Jul 2002
    Location
    Ottawa, Canada
    Posts
    1,766
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://ip-to-country.webhosting.info/

    They maintain a database of IP addresses and countries (see downloads section).

    There's a published PHP Class called IP to Country which will perform a lookup for you (either from the IP-to-country site or from the database, whichever is available), if you're using PHP to do this.

    (You'll need to update the URL of the service though.. originally it wasn't at webhosting.info)
    Colin Temple [twitter: @cailean]
    Web Analyst at Napkyn



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •