IP Location Class: Get the location of an IP address from IPInfoDB

Recommend this page to a friend!
  Info   View files (3)   Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
69%Total: 2,060 All time: 1,894 This week: 315
Version License PHP version Categories
ip-location-class 1.0GNU General Publi...4Networking, Web services, Geography
Description Author

This class can be used to get the location of an IP address from IPInfoDB.

It can send a request to the IPInfoDB Web service API and get the geographic location of a given IP address.

If the location is known, the class stores in its variables the country code, country name, region code, region name, city, postal code, latitude, longitude, time zone and offset from GMT time zone.

Picture of Usman Didi Khamdani
Name: Usman Didi Khamdani is available for providing paid consulting. Contact Usman Didi Khamdani .
Classes: 9 packages by
Country: Indonesia Indonesia
Age: 39
All time rank: 3756 in Indonesia Indonesia
Week rank: 261 3 in Indonesia Indonesia
Innovation award
Innovation award
Nominee: 2x

File Role Description
ip_location.class.php Class this class is used to trace IP location and also trace IP address from a domain or a sub domain name
lookup.php Example this example is used to lookup an IP address or domain/sub domain name
visitor_location.class Example this example is used to trace address location from IP visitor

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,894
This week:315
User Ratings User Comments (1)
 All time
I implemented it into LMS .
10 years ago (Bendifallah Dey)

For more information send a message to info at phpclasses dot org.