Login   Register  
PHP Classes
elePHPant
Icontem

IP Sniffing: Get the location of an IP using ipinfodb.com

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-12-31 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 563 All time: 4,958 This week: 1,366Up
Version License PHP version Categories  
ip-sniffing 1.0GNU General Public Lice...5Networking, PHP 5, Web services, Geog...
Description Author  

This class can be used to get the geographic location of an IP address using ipinfodb.com.

It sends an HTTP request to the ipinfodb.com Web services API to get the location of a given IP address.

The class parses the response and extracts the country code, country name and city of the given IP address.

Picture of Girish M. Nambiar
Name: Girish M. Nambiar <contact>
Classes: 1 package by
Country: India India
Age: 32
All time rank: 2815186 in India India
Week rank: 1779 Up122 in India India Up

  Files folder image Files  
File Role Description
Plain text file class.ipsniffing.php Class This class uses the services of ipinfodb.com
Accessible without login Plain text file example-ipsniffing.txt Example all you need to do is as instructed in the file "example-ipsniffing.txt"

 Version Control Unique User Downloads Download Rankings  
 0%Total:563All time:4,958
 This week:0This week:1,366Up
 User Comments (1)  
 
example file
5 years ago (hamed hosseini)
17%Star