问题
i am using http://api.easyjquery.com/ips/?ip=115.119.253.90&full=true 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.
回答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
Geolocator-PHP
Maxmind http://www.maxmind.com/app/php
ipinfodb
来源:https://stackoverflow.com/questions/10562265/i-want-to-find-current-location-of-user-in-php