I want to find current location of user in php

i am using http://api.easyjquery.com/ips/?ip=
this api for getting current location but when this site goes down i am not able to get current location.

can google provide any api to find current location using ip.

Here is Solutions:

We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.

Solution 1

If you don’t want to use the HTML5 Geolocoation API, you can detect a bit from IP.

Or try other other solution

The Google Geocoding API


Maxmind http://www.maxmind.com/app/php


Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply