RE: [PHP] Zip Codes
| From: | Vail, Warren | Date: | Thu, 04 Nov 2004 17:47:53 +0000 |
| Subject: | RE: [PHP] Zip Codes | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-201202@lists.php.net to get a copy of this message | ||
One thing I might be tempted to try would be to execute a trace route
utility and analyze the output, but it is very cryptic;
http://www.traceroute.org/
http://www.tracert.com/cgi-bin/trace.pl
HOST LOSS RCVD SENT BEST AVG
WORST
er1.sfo1.speakeasy.net 0% 20 20 25.70 30.68
89.13
220.ge-0-1-0.cr2.sfo1.speakeasy.net 0% 20 20 24.02 26.56
58.23
ge-4-0-440.ipcolo1.SanJose1.Level3.net 0% 20 20 24.38 25.28
27.09
ae-1-56.bbr2.SanJose1.Level3.net 0% 20 20 24.26 31.00
97.58
so-3-0-0.mp1.SanFrancisco1.Level3.net 0% 20 20 25.49 28.89
49.58
so-10-0.ipcolo1.SanFranciso1.Level3.net 0% 20 20 25.17 25.81
26.73
gw-level3-sfo.internap.com 0% 20 20 27.32 28.12
29.58
border4.ge3-0-bbnet2.sfo.pnap.net 0% 20 20 27.11 28.24
28.93
??? 100% 0 20 0.00 0.00
0.00
If you can figure out how to make sense of this, you might be able to find
the point that a system is connected to the internet, by tracing back to a
visitors current IP address.
If you come up with something useful, keep the list informed.
Warren Vail
-----Original Message-----
From: John Nichel [mailto:john@kegworks.com]
Sent: Thursday, November 04, 2004 9:22 AM
To: php-general@lists.php.net
Subject: Re: [PHP] Zip Codes
bb9876 wrote:
> Is there any way to use PHP to determine the zip code someone is
> visiting from, assuming they are all from the US?
>
Outside of asking the visitor for it, no.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@kegworks.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php