Login   Register  
PHP Classes
elePHPant
Icontem

IP 2 Country IP2C on MySQL: Get country of a given IP address looking up MySQL

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-01-10 (3 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 435 All time: 5,690 This week: 1,512Up
Version License PHP version Categories  
ip2c-mysql 0.5Free for non-commercial...5.0PHP 5, Databases, Geography
Description Author  

This class can be used to get country of a given IP address looking up in a MySQL database.

It takes a given IP address and looks up a MySQL database to determine the geographic location of the P address.

The class returns the IP address country name and country codes with 2 or 3 letters.

Picture of Kacper Zbonikowski
Name: Kacper Zbonikowski <contact>
Classes: 4 packages by
Country: Poland Poland
Age: 31
All time rank: 178846 in Poland Poland
Week rank: 1909 Down51 in Poland Poland Down

Screenshots  
  • screen
  Files folder image Files  
File Role Description
Plain text file ipclass.php Class Class source file
Accessible without login Plain text file install.php Aux. install ips from CSV to MySQL
Accessible without login Plain text file install2.php Aux. install ips from another CSV file to MySQL
Accessible without login Plain text file ip.php Example Example

 Version Control Unique User Downloads Download Rankings  
 0%Total:435All time:5,690
 This week:0This week:1,512Up