Is there a way to find IP address?

Tim Roberts timr at probo.com
Fri Sep 15 08:56:17 CEST 2006


"Lad" <python at hope.cz> wrote:
>
>Normaly I can log user's IP address using os.environ["REMOTE_ADDR"] .
>If a user  is behind a proxy, I will log  proxy's IP address only.
>Is there a way how to find a real IP user's address?

Not reliably, but why would you want to?  That IP address is not reachable
from your server anyway.
-- 
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list