PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 30%Total: 580 This week: 1All time: 5,318 This week: 560Up
Version License PHP version Categories
ip-sniffing 1.0GNU General Publi...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
  Performance   Level  
Name: Girish M. Nambiar <contact>
Classes: 1 package by
Country: India India
Age: 41
All time rank: 3098199 in India India
Week rank: 416 Up25 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
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:580
This week:1
All time:5,318
This week:560Up
User Ratings User Comments (1)
 All time
Utility:50%StarStarStar
Consistency:58%StarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:30%StarStar
Rank:4243
 
example file
14 years ago (hamed hosseini)
17%Star