PHP Classes
elePHPant
Icontem

GeoLocation: Get the location of an IP address with the hostip

Recommend this page to a friend!

  Author Author  
Picture of Jillis ter Hove
Name: Jillis ter Hove <contact>
Classes: 1 package by
Country: The Netherlands The Netherlands


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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 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
 
  Groups   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


  Pages that reference this package  
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...

Latest pages that reference packages Latest pages that reference packages


  Applications that use this package  
No pages of applications that use this class were specified.

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.

Install with Composer Install with Composer - Download 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.