PHP Classes

PHP Free GeoIP Location: Get the geographic location of a IP with FreeGeoIP

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 759 All time: 4,447 This week: 42Up
Version License PHP version Categories
free-geoip 1BSD License5PHP 5, Web services, Geography
Description 

Author

This class can get the geographic location of a IP address with FreeGeoIP.

It can send a HTTP request to the FreeGeoIP API Web server to request the geographic location details associated to a given IP address.

Currently it sets class variables with location details like the country code and name, the region code and name, city, zip code, latitude, longitude, metro code and area code.

Picture of Frederik Yssing
  Performance   Level  
Name: Frederik Yssing <contact>
Classes: 4 packages by
Country: Denmark Denmark
Age: 46
All time rank: 122810 in Denmark Denmark
Week rank: 195 Up2 in Denmark Denmark Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (2)  
File Role Description
Plain text file netgeo.class.php Class This file contains the class and example
Accessible without login Plain text file netgeo.php Example Example of usage

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:759
This week:0
All time:4,447
This week:42Up