Login   Register  
PHP Classes
elePHPant
Icontem

GeoIP: Get the location of an IP address using ipinfo.io

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-12-20 (1 year ago) RSS 2.0 feedNot yet rated by the usersTotal: 405 This week: 3All time: 5,880 This week: 554Up
Version License PHP version Categories  
utils-geoip 1.0GNU Lesser General Publ...5Networking, PHP 5, Web services, Geog...
Description Author  

This class can Get the location of an IP address using ipinfo.io.

It can send an HTTP request to the ipinfo.io API Web server to retrieve the geographic location details of a given IP address or the address of the current request user.

The class parses the results and returns an object with the original IP address, the associated host name, the latitude and longitude coordinates, the origanization to which the IP address belongs, the city, region, country, and phone area code.

Picture of Steve Winnington
Name: Steve Winnington is available for providing paid consulting. Contact Steve Winnington .
Classes: 8 packages by
Country: United Kingdom United Kingdom
Age: 40
All time rank: 134760 in United Kingdom United Kingdom
Week rank: 160 Up9 in United Kingdom United Kingdom Up
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Plain text file UtilsGeoIP.php Class This class uses the Free GeoIP to retrieve Geolocation information for a given IP address

 Version Control Unique User Downloads Download Rankings  
 0%Total:405All time:5,880
 This week:3This week:554Up