Login   Register  
PHP Classes
elePHPant
Icontem

Class: IP to Country

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Pascal Toussaint  >  IP to Country  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: IP to Country
Base name: ip2country
Description: Determine the country of a given IP address
Related classes: , , , , , , ,
Version: -
PHP version: -
License: Freely Distributable
All time users: 8894 users
All time rank: 129
Week users: 3 users
Week rank: 1216
Picture of Pascal Toussaint
Author: Pascal Toussaint <e-mail contact>
Packages: 6 Browse this author's classes Browse this author's classes
Country: France France - PHP jobs in France
Age: 45
All time rank: 727 in France France
Week rank: 453 Down25 in France France Down


  Detailed description  
This class is meant to determine the country where is its located the Internet network given the IP address of computer.

The class uses a CSV file named ip-to-country.csv that lists the IP address ranges and the respective countries. That file can be obtained from from webhosting.info site .

The class can lookup the IP range CSV file or query in a mysql table that has the contents of CSV file for faster lookup.

 

  Groups  
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Geography Locations, mapping and demographics View top rated classes

  Rate classes User ratings   Applications   Related links   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (81.9%)
Sufficient (76.7%)
Sufficient (67.2%)
Sufficient (76.7%)
-
-
Sufficient (63.0%)
576
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
Test ip2country Test ip2country directly on my site
ip-to-country.webhosting.info Site where you can download csv file

  Files folder image Files  
File Role Description
Plain text file class.ip2country.php Class the ip2country class
Plain text file readme Doc. readme file
Plain text file testclass.php Example Exemple

Download all files: ip2country.tar.gz ip2country.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.