PHP Classes

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

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 4,383 All time: 657 This week: 129Up
Version License PHP version Categories
geoip 1.0GNU General Publi...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.

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

Winner: 1x

Recommendations

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:4,383
This week:0
All time:657
This week:129Up
 User Ratings  
 
 All time
Utility:87%StarStarStarStarStar
Consistency:87%StarStarStarStarStar
Documentation:-
Examples:91%StarStarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:1006