Login   Register  
PHP Classes
elePHPant
Icontem

GeoLocation

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Jillis ter Hove
Name: Jillis ter Hove <e-mail contact>
Packages: 1 Browse all classes by Jillis ter Hove Browse all classes by
Country: The Netherlands The Netherlands - PHP jobs in The Netherlands
Age: 32
All time rank: 75021 in The Netherlands The Netherlands
Week rank: 1460 Down43 in The Netherlands The Netherlands Down


  Detailed description   Download .zip .tar.gz  
This class can be used to determine the geographic location of an IP address using the hostip.info Web services.

The class is guaranteed to work with PHP version 4.2 and PHP 5.2. There is some important information in the index.php file that gives hints to troubleshoot problems.

It accesses the hostip.info Web services API site passing a given host IP address as query parameter.

The class retrieves and parses the response to return the country, the city, and the latitude and longitude coordinates of the specified host.

  Classes of Jillis ter Hove  >  GeoLocation  >  Download .zip .tar.gz  >  Support forum Support forum (3)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: GeoLocation
Base name: geolocation
Description: Get the location of an IP address with the hostip
Version: 0.2
PHP version: 4.2
License: BSD License
All time users: 3603 users
All time rank: 805
Week users: 1 user
Week rank: 2150 Down
 
  Groups   Rate classes User ratings   Trackback   Applications   Files Files  

  Groups  
Group folder image Web services Web data clipping, SOAP or XML-RPC clients and servers View top rated classes
Group folder image Geography Locations, mapping and demographics View top rated classes


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (80.6%)
Good (83.3%)
-
Good (88.9%)
-
-
Not sure (57.5%)
1027
Month:
Not yet rated by the users

  Trackback links  
Link Description
Geocoding/Geolocating with PHP We have noticed in several sites visited ads that "knows" that come from Greece or even from Athens...
Googles China Rückzug: Folgen für Webmaster Wie ihr sicher alle mitbekommen habt, zieht die Suchmaschine Google sich aus China zurück...
Mostrando o potencial da JS Calls PHP #5 - geolocalização Fazia muito tempo que não postava nada sobre a JS Calls PHP – muito trabalho, pouco tempo livre… coisas da vida...

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file GeoLocation.class.php Class Main class file
Accessible without login Plain text file index.php Example Example usage of the class
Accessible without login Plain text file PHP45.XML.php Aux. Wrapper for differences in XML handling in php 4 and php 5.

Download all files: geolocation.tar.gz geolocation.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.