IP info: Get the IP address location from ip-adress.com

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 59%Total: 2,521 This week: 1All time: 1,517 This week: 271Up
Version License PHP version Categories
ipinfo 1.3Freeware4.0.2Networking, Web services, Geography
Description Author

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

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

ip-adress.com 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: 32
All time rank: 87819 in Turkey Turkey
Week rank: 287 Up8 in Turkey Turkey Up

ip-adress.com 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)
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: seregwethrin@gmail.com
  • 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:1
All time:1,517
This week:271Up
 User Ratings  
 All time
For more information send a message to info at phpclasses dot org.