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
  Classes of Jillis ter Hove  >  GeoLocation  >  Download .tar.gz .zip  >  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
Related classes: , ,
Version: 0.2
PHP version: 4.2
License: BSD License
All time users: 3464 users
All time rank: 806
Week users: 4 users
Week rank: 905
 

  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: 30
All time rank: 73322 in The Netherlands The Netherlands
Week rank: 812 Down23 in The Netherlands The Netherlands Down


  Detailed description  
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.

  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%)
998
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
Plain text file index.php Example Example usage of the class
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.