PHP Classes

IP2Country PHP: Get information of the country of an IP address

Recommend this page to a friend!
     
  Info   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: 1,202 All time: 3,152 This week: 146Up
Version License PHP version Categories
ip2country-php 1.0Freeware5.0Networking, PHP 5, Geography
Description 

Author

This class can be used to get information of the country of an IP address.

It takes an IP address and queries MySQL database to determine the country associated with the given IP address range.

The class returns the associated country name and country codes with both 2 and 3 letters.

Picture of Dwayne Rothe
Name: Dwayne Rothe <contact>
Classes: 3 packages by
Country: Australia Australia

  Files folder image Files (6)  
File Role Description
Files folder imagedb (1 file)
Plain text file ip2countryphp.sql.php Class Class
Accessible without login Plain text file changelog.txt Doc. Update of changes
Accessible without login Plain text file example.php Example Example
Accessible without login Plain text file example2.php Example Example
Accessible without login Plain text file INSTALL.txt Doc. Installation instructions

  Files folder image Files (6)  /  db  
File Role Description
  Accessible without login Plain text file ip2countryphp.sql.txt Data MySQL database import file

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:1,202
This week:0
All time:3,152
This week:146Up