You are here: Re: Capturing IP addresses. « All PHP « IT news, forums, messages
Re: Capturing IP addresses.

Posted by Jerry Stuckle on 09/09/07 21:19

esoterik wrote:
> On Sat, 08 Sep 2007 14:32:18 +0000, Rob wrote:
>
>> Just wondering how sites capture a visitor's IP address and how this is
>> done in PHP?
>
>
> any ideas how the ip address is resolved to a zipcode/location without
> using one of the commercial lists?
>

Nope, and even then it is not accurate. For instance, all AOL users
show as coming from Virginia. And when I'm on my dialup account from
MD, it shows I'm coming from NY.

You can get a state (or, as in the case of the Washington, DC area, a
metro area) in maybe 70-90% of the cases. But the more accurate you try
to narrow it down, the less accurate your location will be.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация