PHP Classes

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

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 470 All time: 6,025 This week: 455Up
Version License PHP version Categories
ip2c-mysql 0.5Free for non-comm...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 kz
  Performance   Level  
Name: kz <contact>
Classes: 5 packages by
Country: Norfolk Island Norfolk Island
Age: 25
All time rank: 14391 in Norfolk Island Norfolk Island
Week rank: 164 Up1 in Norfolk Island Norfolk Island Equal

Screenshots (1)  
  • screen
  Files folder image Files (5)  
File Role Description
Accessible without login 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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:470
This week:0
All time:6,025
This week:455Up