[Phpwm] locating user's geographical location by IP

Jonathan Adjei jadjei at ntlworld.com
Mon May 29 11:52:23 BST 2006


I've used MaxMind's stuff before. They have open source versions of
their databases even down to the city level, and they provide an API.
http://www.maxmind.com/app/ip-location

jon


-----Original Message-----
From: phpwm-bounces at mailman.lug.org.uk
[mailto:phpwm-bounces at mailman.lug.org.uk] On Behalf Of sukh virdee
Sent: 25 May 2006 21:50
To: phpwm at mailman.lug.org.uk
Subject: [Phpwm] locating user's geographical location by IP


Hi guys,
I was wondering if there was a way of finding out where a user is
accessing 
my website from from, as in geographical location.

When I log ionto my Linux Web server, the shell starts with the string
"Last 
login : from [IP]....[some kind of address]". - that's the kind of data
i'm 
looking for

All I have managed to find are 3rd party apps that map ip to a
geographical 
location. I want to do it in PHP

There must be a way of doing it in PHP.....

Thanks in advance,
Sukh



_______________________________________________
Phpwm mailing list
Phpwm at mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/phpwm




More information about the Phpwm mailing list