PHP Classes

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

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 439 All time: 6,230 This week: 425Up
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 kz
  Performance   Level  
Name: kz <contact>
Classes: 5 packages by
Country: Norfolk Island Norfolk Island
Age: 23
All time rank: 14791 in Norfolk Island Norfolk Island
Week rank: 597 Up1 in Norfolk Island Norfolk Island Equal

Screenshots  
  • ip2c
  Files folder image Files  
File Role Description
Accessible without login 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:439
This week:0
All time:6,230
This week:425Up
For more information send a message to info at phpclasses dot org.