PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 756 All time: 4,454 This week: 106Up
Version License PHP version Categories
free-geoip 1BSD License5PHP 5, Web services, Geography


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: 45
All time rank: 122810 in Denmark Denmark
Week rank: 332 Up3 in Denmark Denmark Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,454
This week:106Up