Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I want to find current location of user in php

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.

like image 568
rash111 Avatar asked May 12 '12 08:05

rash111


Video Answer


1 Answers

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

like image 137
Moyed Ansari Avatar answered Sep 28 '22 05:09

Moyed Ansari