PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (9 months ago) RSS 2.0 feedStarStarStar 46%Total: 997 This week: 3All time: 3,439 This week: 473Up
Version License PHP version Categories  
ip2location-php 7.0.0GNU Lesser Genera...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.


What is the best PHP ip to latitude longitude class?
Given IP address return latitude longitude

What is the best PHP visitor location class?
Find a visitor IP address longitude and latitude

Picture of Chris
Name: Chris <contact>
Classes: 2 packages by
Country: Malaysia Malaysia
Age: ???
All time rank: 18236 in Malaysia Malaysia
Week rank: 358 Up1 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:997All time:3,439
 This week:3This week:473Up
User Ratings User Comments (1)  
 All time