Re: Lookup zip by IP address
- From: Captain Paralytic <paul_lautman@xxxxxxxxx>
- Date: Mon, 10 Jan 2011 14:02:01 -0800 (PST)
On Jan 10, 8:44 pm, "Twayne" <nob...@xxxxxxxxxxxxxxxxxxx> wrote:
Innews:c9ba34e2-15b2-43b2-b5e3-c1c73f35d6ee@xxxxxxxxxxxxxxxxxxxxxxxxxxxx,
laredotorn...@xxxxxxxxxxx <laredotorn...@xxxxxxxxxxx> typed:
Hi,
Can anyone recommend any free software for (roughly)
looking up a zip code by IP address? It only has to work
in the continental US. I tried this that I found through
Google --
http://www.phpclasses.org/package/2428-PHP-Get-hostname-zip-code-and-...
. But it hasn't worked for me, probably because the
database doesn't have that many entries.
Thanks, - Dave
Unless you know you can get to the user's ACTUAL IP address and not just
that of his server, something I doubt you can do, it'll never work for you.
Most ISPs cover larger geographic areas than just one zip. My ISP for
instance is 120 miles south of me, in a different zip, and it covers, at a
quickl glance, at least 14 zips. And the ISP is as far as you're going to
get with an IP. You need the IP of the USER, which the ISPs will not give
out.
No you are totally wrong. You do get the IP of the user, but it will
be registered to the ISP's address.
.
- Follow-Ups:
- Re: Lookup zip by IP address
- From: Twayne
- Re: Lookup zip by IP address
- References:
- Lookup zip by IP address
- From: laredotornado@xxxxxxxxxxx
- Re: Lookup zip by IP address
- From: Twayne
- Lookup zip by IP address
- Prev by Date: Re: More advanced PHP books
- Next by Date: Re: Lookup zip by IP address
- Previous by thread: Re: Lookup zip by IP address
- Next by thread: Re: Lookup zip by IP address
- Index(es):
Relevant Pages
|