PHP Classes

IP info: Get the IP address location from

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 53%Total: 2,529 All time: 1,521 This week: 146Up
Version License PHP version Categories
ipinfo 1.3Freeware4.0.2Networking, Web services, Geography


This class can be used to get the location of the network of an IP address from the site.

It retrieves a page of the site with the city, state, ISP, country, organization associated to a given IP address. This information is stored in the class variables.

IMPORTANT!!! can allow only 20 queries (except local ip) per ip. So that you must use proxies. I've added multi-proxy system to v1.1. Every proxy gives you 20 query.

Please load curl extension, chmod ip_info_proxy.txt to 0777, read readme.txt.

Picture of Seregwethrin
Name: Seregwethrin <contact>
Classes: 2 packages by
Country: Turkey Turkey
Age: 34
All time rank: 88619 in Turkey Turkey
Week rank: 234 Up9 in Turkey Turkey Up

Details can allow only 20 queries per day (except local ip). Please use proxies. Add proxies ipinfo.class.php to line 66 as array. php_curl.dll must be loaded. To load this extension, in php.ini, remove ; before (win) extension=php_curl.dll before (linux) And restart apache, or other your webserver. There can be bugs of course. Please send me bugs, and i'll fix them all. mail:

  • Example_IPinfo.gif
  Files folder image Files  
File Role Description
Plain text file ipinfo.class.php Class The main class file
Plain text file proxy_checker.php Test Proxy Checker
Plain text file ip_info_proxy.txt Data Data file for proxies.
Plain text file readme.txt Doc. Read This Please
Plain text file example_ipinfo.php Example Using Example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,521
This week:146Up
 User Ratings  
 All time