PHP Classes

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

Recommend this page to a friend!

  Author Author  
Name: Jillis ter Hove <contact>
Classes: 1 package by
Country: The Netherlands The Netherlands
Age: 36
All time rank: 74921 in The Netherlands The Netherlands
Week rank: 1104 Down30 in The Netherlands The Netherlands Down

  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 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 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
All time users: 3988 users
All time rank: 770
Week users: 0 users
Week rank: 621 Equal
  Groups   Rate classes User ratings   Trackback   Applications   Files Files  

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  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (77%) Sufficient (79%) - Good (84%) - - Not sure (54%) 1813
Month: Not yet rated by the users

  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
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.