#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2001
    Location
    Montréal, Québec, Canada
    Posts
    52
    Rep Power
    13

    Question Get Country By IP


    I was wondering if anyone had already a script I could use to get a country with a given IP.

    Thanx
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2004
    Posts
    17
    Rep Power
    0

    Lightbulb


    Start from here
    http://www.analysespider.com/geo-targeting/geo-targeting.html
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2012
    Posts
    2
    Rep Power
    0
    Check this site, IPInfoDB, for their IP Geolocation API. It's free and return you the country of the given IP.
  6. #4
  7. No Profile Picture
    Permanently Banned
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2013
    Location
    New York
    Posts
    30
    Rep Power
    0
    Hi,

    Why dont you use tools to find out the IP .There were lots of trusted IP checker available in online.
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2013
    Posts
    33
    Rep Power
    2
    He ask for a script

    phpIp2Country ( php IP to country ) - PHP geolocalization class with free (updated daily) IPs database
    see here: http://code.google.com/p/php-ip-2-country/

    or you can use api from one of this sites:

    •http://ipinfodb.com/ip_location_api.php
    •http://www.ipgeo.com/api/
    •http://ip2.cc/
    •http://www.geobytes.com/IpLocator.htm

IMN logo majestic logo threadwatch logo seochat tools logo