FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Lookup zip by IP address
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Lookup zip by IP address [message #171710 is a reply to message #171576] Mon, 17 January 2011 20:46 Go to previous messageGo to previous message
Twayne is currently offline  Twayne
Messages: 135
Registered: September 2010
Karma:
Senior Member
In news:f61806a3-a23e-4e39-83fd-c63ee7db5248(at)j32g2000prh(dot)googlegroups(dot)com,
Captain Paralytic <paul_lautman(at)yahoo(dot)com> typed:
> On Jan 10, 8:44 pm, "Twayne" <nob...@devnull.spamcop.net>
> wrote:
>> Innews:c9ba34e2-15b2-43b2-b5e3-c1c73f35d6ee(at)f20g2000vbc(dot)googlegroups(dot)com,
>> laredotorn...@zipmail.com <laredotorn...@zipmail.com>
>> 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.

Umm, the IP changes often, automatically, with time as dictated by the
servers. I can change my own by simply powering the modem down and back up
(DSL). Others change them at a particular time of day every 24 hours or
whatever schedule they like.
There are few static IP addresses. All you'll get any info on is the ISP
and NOTHING about the user except the current IP assigned to that user.
You'll go away knowing nothing about the user. Try it; look some people up.
If you were to do me, you'd be off by 120 some miles from the servers in a
different county even. Experience is the best teacher; try it out.

HTH,

Twayne`
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem getting session through CURL
Next Topic: How to call external php script from html?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 22:40:46 GMT 2024

Total time taken to generate the page: 0.04338 seconds