" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

How to get geographical location of an IP address in PHP

Posted on November 23rd, 2015 by Subranil Dalal

In many of our project works, we need to get geophysical location of an end user, including more information on country, state, city, timezone, offset time, based on the user’s IP address. Here I am using http://ipinfodb.com/ API to get the IP info in xml format. I make an Ajax call to PHP page which gets the XML […]