Login   Register  
PHP Classes
elePHPant
Icontem

IP2Location PHP Module: Get geographical details of an IP with IP2Location

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-08-19 (3 months ago) RSS 2.0 feedStarStarStar 46%Total: 963 All time: 3,479 This week: 1,585Up
Version License PHP version Categories  
ip2location-php 7.0.0GNU Lesser General Publ...3.0Networking, PHP 5, Geography
Description Author  

This class can get geographical details of an IP with IP2Location.

It can read and parse an IP2Location data file made available in the IP2Location site, so it can locate a given IP address and get geographical details associated to the IP address range.

Currently it can extract details like the country, region, city, latitude, longitude, ZIP code, time zone, ISP, domain name, connection speed, IDD code, area code, weather station code, weather station name, mcc, mnc, mobile brand, and elevation.

This class can work with both the commercial and free versions of IP2Location database.

Picture of Chris
Name: Chris <contact>
Classes: 2 packages by
Country: Malaysia Malaysia
Age: ???
All time rank: 18296 in Malaysia Malaysia
Week rank: 1164 Up3 in Malaysia Malaysia Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file BIN_DATABASE_README.txt Doc. BIN database download information
Plain text file ip2location.class.php Class ip2location class
Accessible without login Plain text file README.txt Doc. read me
Accessible without login Plain text file sample.php Example sample code

 Version Control Unique User Downloads Download Rankings  
 0%Total:963All time:3,479
 This week:0This week:1,585Up
User Ratings User Comments (1)  
 All time
Utility:60%StarStarStarStar
Consistency:55%StarStarStar
Documentation:60%StarStarStarStar
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:1851