laziness, impatience, and hubris | |
PerlMonks |
Re: Getting longitude and latitude from an IP addressby dws (Chancellor) |
on Jan 05, 2002 at 04:55 UTC ( [id://136441]=note: print w/replies, xml ) | Need Help?? |
Given direct access to a GPS, you could optimize the lookup for 127.0.0.1.
Seriously, though, since a substantial chunk of the IP addresses one typically sees in a server log are dynamically allocated (e.g., via @home or pacbell.net), or are funnelled via NAT through a single IP address that may be far distant from the source, the latitude and longitude this produces should be considered to be "for amusement purposes only".
In Section
Cool Uses for Perl
|
|