PDA

View Full Version : Finding the location of a US visitor



abelony
12-15-2004, 03:54 PM
Hey guys.

Do you guys know where I can find a php code that would tell me a visitor's location in the US from the IP?

Thanks, Abel

tomek
12-15-2004, 06:32 PM
you could buy: MaxMind GeoIP Region Database
http://www.maxmind.com/app/region

then you can have a look at the source of: http://phpadsnew.com/two/ for the php details on how to use it...

what you want to do doesn't work without some kind of IP to Region database.

abelony
12-16-2004, 08:30 AM
Thanks.

I had a feeling it wouldn't be free. I will search for free resources and will let you guys know if I find any.

Chris
12-16-2004, 08:40 AM
This isn't perfect though you know? For instance all AOL members will show up as Virginia.

James
12-16-2004, 08:47 AM
That's interesting. I wonder if AOL users always get geotargetted AdSense ads for local businesses in virginia...

Percept
12-16-2004, 09:56 AM
This isn't perfect though you know? For instance all AOL members will show up as Virginia.

I thought it said:


This isn't perfect though you know? For instance all AOL members will show up as virgins.
:rolleyes:

abelony
12-16-2004, 09:59 AM
I have also seen instances of the same AOL IP coming to my site from many different search terms (I am talking about more than 600). I use dial-up right now and even though I am in Utah, my location shows as California.

The New Guy
12-16-2004, 12:15 PM
I thought it said...

Well if they are using AOL, they are definitely virgins to the internet.
:p

moonshield
12-16-2004, 03:55 PM
er, if you want to find people in the US ask the FBI. I am sure they would be happy to find them for you.

James
12-16-2004, 04:38 PM
Sure, just say they have Anthrax... :rolleyes: