It put me in Atlanta GA, which is pretty cool actually.
I now live in San Diego CA, but I did live in Atlanta for almost 15 years (about 20 years ago).
I love that city, and if I didn't live here I would want to be there.
HELP! Trying to use php to identify the city a user is in
Moderator: General Moderators
There are some cool demos that work with user inputted data, fe: http://maps.smugmug.com/.
User entered data
IP geocoding doesn't really work these days.
With user entered data there are ways of doing this.
It's not hard to implement a zip code lookup.
phat
With user entered data there are ways of doing this.
It's not hard to implement a zip code lookup.
phat
I think we all agree that user entered data is usually more reliable.
There is a reason/case why people choose for an IP<->Location mapping though, because it's usually impossible to know where the user is coming from. In this case it can be useful, eg: if you want to show different banners for different countries.. I don't expect you ask a surfer to tell his location before you send him an appropriate banner
There is a reason/case why people choose for an IP<->Location mapping though, because it's usually impossible to know where the user is coming from. In this case it can be useful, eg: if you want to show different banners for different countries.. I don't expect you ask a surfer to tell his location before you send him an appropriate banner
All you need now is:
- an image of the world
- http://www.maxmind.com/download/geoip/a ... ipcity.inc
- an image of the world
- http://www.maxmind.com/download/geoip/a ... ipcity.inc