PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2007-02-10 (9 years ago) RSS 2.0 feedStarStarStar 59%Total: 2,497 This week: 1All time: 1,491 This week: 1,047Up
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.

IMPORTANT!!!
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

Details
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)
	extension=php_curl.dll
before (linux)
	extension=curl.so
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
Screenshots  
  • 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  
 0%
Total:2,497
This week:1
All time:1,491
This week:1,047Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:100%StarStarStarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:1170