Path

ez projects / sqligeoloc


SQLi Geoloc

UNIX name Owner Status Version Compatible with
sqligeoloc Jérôme Vieilledent stable 1.0.1 4.x
SQLIGeoloc is an extension allowing to geolocate a user from his IP Address.

SQLIGeoloc is an extension allowing to geolocate a user from his IP Address. It uses Maxmind Geolite database, provided by IPInfoDB

This extension provides 2 fetch functions :

  • ip_info (returns info for given IP adress)
  • remote_ip (returns user IP address)

ip_info fetch function has 2 modes (city and country). Information returned differs from one mode :

  • country mode :
    • ip_start
    • ip_cidr
    • country_code (ISO)
    • country_name (in english)
  • city mode :
    • ip_start
    • country_code (ISO)
    • country_name (in english)
    • region_code
    • region_name
    • city
    • zipcode
    • latitude
    • longitude
    • metrocode

Screenshot

No news yet.

This project has no reviews yet. Be the first one to review it!

No forum messages yet.