iploc


PHP library to detect IP location by masks database

Features

  • Import IP locations masks from http://www.maxmind.com/app/geolitecity CSV to database
  • Get coordinates, country and city by IP from local database
  • Support MySQL and PostgreSQL
  • Use compact database format < 150mb total data size
  • Works very quickly < 5ms per request

Result example:

http://iploc.googlecode.com/files/result_example.gif

Important

There is also GIT hosted version of this library, see https://github.com/barbushin/iploc'>IpLoc on GitHub.

Recommended

  • Google Chrome extension http://goo.gl/b10YF'>PHP Console.
  • Google Chrome extension http://goo.gl/kNix9'>JavaScript Errors Notifier.

Project Information

Labels:
php mysql postgresql geolocation iplocation location ip