CGI and client's IP?
Fernando Rodríguez
frr at easyjob.net
Mon Apr 29 09:16:29 EDT 2002
On Mon, 29 Apr 2002 12:25:13 +0200, Gerhard Häring <gh_pythonlist at gmx.de>
wrote:
>* Fernando Rodríguez <frr at easyjob.net> [2002-04-29 11:58 +0200]:
>> Can I get the client's IP froma a cgi script? O:-)
>
>This might do it: os.environ["REMOTE_ADDR"]
>
>It's instructive to look at the output of this little CGI script:
Very instructive. Thanks! :-)
-----------------------
Fernando Rodriguez
More information about the Python-list
mailing list