Overview
The IPtoLocation module uses a visitor’s IP address and enables you to identify his/her geographical location. This module tracks visitor's geographical location (longitude/latitude), country, region and city based on the IP address of the visitor. This provides the developers functionalities to show location of the Guest/Login users across the website or portal.
The location information is stored at session variable ($_SESSION) with an array key ‘iptolocation’. It also provides a feature to perform your own IP lookup and admin spoofing of an arbitrary IP for testing purposes.
Data Sources
The source of IPtoLocation module is http://api.codehelper.io service which has the accuracy of over 99.6 % on a country level and 80% on a city level with monthly updating benefits. This is a free GeoIP database and
Demo URL http://api.codehelper.io/ips/?php&ip=detect-get-clients-ip-address-country-using-javascript-php/
How it works
- Install the module
- IPtoLocation module provides session variable and tracks visitor location which can be used anywhere by developers
- Support caching functionality of user’s IP locations
Benefits
- Shows user location into a block, pages, etc.
- It can be tested from any user's IP address
- Cache user’s server IP address which means if the visitors have same IP address, then your server can read it from cache
- Easily identifies the geographical location of the user
- No Geo IP Location database required
Installation
A README.txt is included, containing detailed installation instructions and discussions of what the IPtoLocation module does and how it does it. Please consult the README.txt before you install this module.
Sponsored By : OSSCube
Developers : Yash Sharma, RadheyShyam, Bhupendra Singh
Rajesh Saini
Project information
- Created by vineet.osscube on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 7.x-1.x-dev updated 27 Feb 2013 at 13:08 UTC