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 Bookmark in
  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 (4 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 428 All time: 5,799 This week: 1,542Up
Version License PHP version Categories  
ip2c 0.3Free for non-comm...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: 5 packages by
Country: Poland Poland
Age: 32
All time rank: 157344 in Poland Poland
Week rank: 4 Up1 in Poland Poland Up

  • 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,799
 This week:0This week:1,542Up