Info
Name | What Is My IP With Geolocation |
Market | codester.com |
Category | Miscellaneous |
Tags | geolocation, google maps, ip, IP Address, What's my ip |
A php script that shows the visitors ip address and google maps location.To use the google maps geolocation you need to obtain a google maps api key which can be obtained at this link. –Google maps api key—.
The script can be used without google maps you just need to delete the api key from the text file.
This script can be added to any webpage!
Unzip the file
Copy the files to the root folder of your website
Add the following lines to the webpage where you want to display the information :
include the initialization file at the top of the file
Include the css file in the head section of the file
Finally include the main script file in the div you want to be displayed.