Login   Register  
PHP Classes
elePHPant
Icontem

GeoIP Country Whois Locator: Determine the country of an IP address using GeoIP

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  
2008-08-17 (6 years ago) RSS 2.0 feedStarStarStarStar 67%Total: 4,137 This week: 9All time: 668 This week: 141Up
Version License PHP version Categories  
geoip 1.0GNU General Public Lice...5.0Networking, PHP 5, Geography
Description Author  

This class can determine the country of a given IP using the GeoIP country database edition.

It reads an GeoIP country database file that relates IP ranges with countries.

The class looks up a given IP to determine the country associated to the IP range that it belongs.

If found, the class returns the IP range start and end and the associated country name and code.

Recommendations  

What is the best PHP localization visitor country class?
Localization visitor country with PHP

Picture of Marius Zadara
Name: Marius Zadara is available for providing paid consulting. Contact Marius Zadara .
Classes: 6 packages by
Country: Romania Romania
Age: 32
All time rank: 3748 in Romania Romania
Week rank: 184 Up3 in Romania Romania Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file geoip-test.php Example Class use example
Accessible without login Plain text file geoip.xml Data GeoIP PHP package
Accessible without login Plain text file geoip.php Class GeoIP PHP source class

 Version Control Unique User Downloads Download Rankings  
 0%Total:4,137All time:668
 This week:9This week:141Up
 User Ratings  
 
 All time
Utility:95%StarStarStarStarStar
Consistency:95%StarStarStarStarStar
Documentation:-
Examples:100%StarStarStarStarStarStar
Tests:-
Videos:-
Overall:67%StarStarStarStar
Rank:375