|
Posted by NC on 08/16/07 22:02
On Aug 16, 11:48 am, a...@spamcop.net (axlq) wrote:
>
> Does anyone have a favored way of finding the geographic location
> of a user's IP address, so that a php script can include content
> relevant to that location?
Nope. IP addresses often lie. AOL users in the U.S. all appear to
come from Virginia. AOL users in Germany are often seen as coming
from the UK. Users on corporate networks are usually seen as located
at the corporation's headquarters or even the corporation's telco's
headquarters.
> I also see a bunch of commercial services that offer a "country
> whois" function for a subscription fee. You'd think this sort of
> capability would be standardized by now.
It is. Matching IP addresses with locations is done based on WHOIS
information. But to get and keep current WHOIS for the entire
Internet, you need to be a domain registrar or good friends with
one. :) Plus, WHOIS reflects who owns the IP address, not who uses
it...
Cheers,
NC
Navigation:
[Reply to this message]
|