Login   Register  
PHP Classes

IP 2 Country IP2C: Get country of a given IP address from CSV files

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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-01-10 (3 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 428 All time: 5,732 This week: 1,542Up
Version License PHP version Categories  
ip2c 0.3Free for non-commercial...5.0Networking, PHP 5, Geography
Description Author  

This class can be used to get country of a given IP address from CSV files.

It takes a given IP address and looks up the country to IP addresses database file in CSV format to determine the IP address geographic location.

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: 179046 in Poland Poland
Week rank: 1790 Equal49 in Poland Poland Down

  • ip2c
  Files folder image Files  
File Role Description
Plain text file ipclass.php Class class file
Accessible without login Plain text file ip.php Example sample file

 Version Control Unique User Downloads Download Rankings  
 0%Total:428All time:5,732
 This week:0This week:1,542Up