Login   Register  
PHP Classes
elePHPant
Icontem

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

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 (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-11-19 (5 years ago) RSS 2.0 feedStarStarStarStar 69%Total: 1,956 This week: 2All time: 1,892 This week: 790Up
Version License PHP version Categories  
ip-location-class 1.0GNU General Public Lice...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: 8 packages by
Country: Indonesia Indonesia
Age: 34
All time rank: 3826 in Indonesia Indonesia
Week rank: 244 Up3 in Indonesia Indonesia Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Plain text file 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
Accessible without login Plain text file lookup.php Example this example is used to lookup an IP address or domain/sub domain name
Accessible without login Plain text file visitor_location.class Example this example is used to trace address location from IP visitor

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,956All time:1,892
 This week:2This week:790Up
User Ratings User Comments (1)  
 All time
Utility:100%StarStarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:-
Examples:93%StarStarStarStarStar
Tests:-
Videos:-
Overall:69%StarStarStarStar
Rank:239
 
I implemented it into LMS .
5 years ago (Bendifallah Dey)
67%StarStarStarStar