View Full Version : What is the script/code for displaying a users location?
KGL
Mar 11th 2008, 6:00 am
The title says it all.
I'm looking to display the users city and state.
Any help would be appreciated.
bpasc95
Mar 11th 2008, 8:29 am
You will need a database such as Maxmind's GeoLite City:
http://www.maxmind.com/app/geolitecity
As well as their API:
http://www.maxmind.com/app/php
When all put together with your application, you can get the City, State, Country based on the users IP address.
One excellent integration method is into a live support system. In our case, we see:
68.186.*.*
duration: 2 sec
Birmingham, AL
United States
-Bing
swishman
Mar 11th 2008, 8:51 am
using ip information scripts..
gooooooooogle it :D
vishnups
Mar 11th 2008, 9:14 am
I have done if for a DP member recently...you can get the country, city, etc..etc..I have it ready and can be done in 30 minutes. If interested PM me..
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.