Showing IP address of a user...
Irmen de Jong
irmen at -NOSPAM-REMOVETHIS-xs4all.nl
Wed Jul 30 00:07:32 CEST 2003
Jeremy Yallop wrote:
Ofcourse, this is only available when you're in a CGI-like
environment. When running inside mod_python, or something
else, I doubt that this environment variable is available.
In those cases, there is usually a specific way of obtaining
the client's address, either directly or via the socket
that represents the network connection. But this depends
on what you're running!
More information about the Python-list