PHP Classes
Icontem

Class: phpIP2Country


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Mike Leigh  >  phpIP2Country  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: phpIP2Country Support forum
Base name: phpip2country
Description: Determine the country of an IP in a database
Related top rated classes: , , ,
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
All time users: 1012 users
All time rank: 2464
Week users: 5 users
Week rank: 1436
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Dependencies   Applications   Related links   Files Files  

Author

Picture of Mike Leigh
Name: Mike Leigh <e-mail contact>
Published packages: 7 Browse this author's classes Browse this author's classes
Country: United Kingdom United Kingdom - PHP jobs in United Kingdom
Home page: http://www.mikeleigh.com/
Age: 32
All time rank: 390
Week rank: 273

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

Detailed description

This class can be used to determine the country of a given IP searching in an IP range database.

It accesses a SQL database that has a table with the countries associated to each known IP range.

The IP address to check is searched to determine which IP range it belongs. If its IP range is found, the class returns the associated country code.

The IP ranges database table can be populated with separate script from IP range file in CVS format that can be obtained from the IP to country service site.

User ratings

There are not enough user ratings to display for this class.

Packages needed by this class

Class Dependency Why it is needed
phpFile
Required
Used to access the filesystem
phpCSV
Required
Required to read the IP CSV Data feed
phpDB
Required
Communication with the Database

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
IP Data The CSV file of the IP Address data that this class requires
Support Forum Forum for the discussion and support of phpIP2Country

Files

File Role Description
Plain text file CHANGELOG Doc. Change Log
Plain text file ip2country.class.php Class phpIP2Country Main Class
Plain text file test.ip2country.class.php Example Example Usage
Plain text file populate_database.php Aux. Script to populate the database with the CSV Data
Plain text file LICENCE Lic. License File
Plain text file INSTALL Doc. Installation
Plain text file README Doc. Readme
Download all files: phpip2country.tar.gz phpip2country.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products