PHP Detect Country and City: Get the current user location using

Recommend this page to a friend!

Picture of Khoa Bui
Name: Khoa Bui <contact>
Classes: 2 packages by
Country: United States United States
Age: 31
All time rank: 900112 in United States United States
Week rank: 246 20 in United States United States

  Detailed description   Download .zip .tar.gz   Install with Composer  
This class can get the current user location using API.

It can determine the current user IP address checking the user remote IP address eventually behind a proxy server.

The class can send a HTTP request to the API to get the geographic location details associated to the user IP address.

It returns the continent, country, city, latitude, longitude and other details associated to the location city.

The class caches the locations for the given IP address for one week.

  Classes of Khoa Bui  >  PHP Detect Country and City  >  Download .zip .tar.gz  >  Support forum (5)  >  Blog  >  Latest changes  
Name: PHP Detect Country and City
Base name: php-detect-country
Description: Get the current user location using
Version: 1
PHP version: 5.0
License: Shareware
All time users: 2926 users
All time rank: 1273
Week users: 1 user
Week rank: 242
  Groups   User ratings   Applications   Related pages   Files  

Networking Networking protocols, clients and servers View top rated classes
PHP 5 Classes using PHP 5 specific features View top rated classes
Web services Web data clipping, SOAP or XML-RPC clients and servers View top rated classes
Geography Locations, mapping and demographics View top rated classes

  User ratings  
Not enough user ratings

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

If you know an application of this package, send a message to the author to add a link here.

  Related pages
More Example

File Role Description
example.php Example PHP Example
javascript_Example.html Example Javascript Code Example Class Main Class
php_fast_cache.php Class caching_class
SSLForward.php Aux. SSLForward

Install with Composer - Download all files: php-detect-country.tar.gz
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

For more information send a message to info at phpclasses dot org.