>>>>> "Charlie" == Charlie Somerville <[EMAIL PROTECTED]> writes:

Charlie> I'm trying to get a users IP address but when i test it, it always returns
Charlie> "192.0.0.0" which is not my IP. I can't tell you which %ENV key i'm using as
Charlie> i forgot.

Why do you want it?  I hope you're not trying to base an authentication
system around it?

A unique user is not an IP address.
A unique IP address is not a user.

For example, many millions of users use AOL's proxy servers.  On a
given "hit" from a page, the various image fetches will come from many
different machines.  (I can demonstrate it if you want).

And given that this already outnumbers any other significant userbase
for your website... I think I can safely say "logging IP addresses is
OK, but using them to define unique users will totally fail".

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to