View Full Version : get user location
11-17-2004, 04:39 AM
I'm looking for a way to get the users location using php
I can get their IP and country but have not found a good (preferably free) way of finding their town or city
Also, is it possible to do a whois search using php?
11-18-2004, 05:12 PM
I'm sure you've checked out this one already... :)
$199 for the database(abit expensive, I think)
11-18-2004, 05:36 PM
http://pear.php.net/ has a geographical IP lookup package available -- and it's free ^_^
11-19-2004, 12:42 AM
looks like the pear package requires the purchase of a database as well (to look up cities anyway)
Thank you both
11-19-2004, 03:45 PM
You are probably not going to find a free service to do that. BUt there are some cool pay services. Not too bad. If your client is paying.
11-19-2004, 03:46 PM
Also the problem is most of the time the IP address look ups are entirely accurate to a city level.
11-19-2004, 10:18 PM
thanks freddy. that service does not seem to supply city info - am I missing something? Also did you mean 'not entirely accurate'? ;)
vBulletin® v3.8.5, Copyright ©2000-2014, Jelsoft Enterprises Ltd.