Display a website visitors location

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
netplay
Forum Newbie
Posts: 6
Joined: Mon May 19, 2008 4:45 am

Display a website visitors location

Post by netplay »

Hi All,
On my website, I want to display the country my website visitors are from. How can I do this. There are numerous sites that do this . How can I do the same on my website. ? Is there a web service that would do this for me ? What about the IP database approach. I'm sure some of you guys may have had this task and I would like to know how you'll worked it out.

Thanks,
Alec
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Re: Display a website visitors location

Post by onion2k »

The Maxmind database is the usual method.. can't remember the URL.. pop 'maxmind' into Google and it'll be the first link.
LSJason
Forum Commoner
Posts: 45
Joined: Mon May 12, 2008 4:43 pm

Re: Display a website visitors location

Post by LSJason »

http://www.hostip.info/ has an API that you can use.
Post Reply