Is there anyway to obtain client's IP address using cgi module?

J. Wang jw9 at cse.buffalo.edu
Wed Feb 6 16:31:24 EST 2002


I am trying to create a python CGI script. While I'd like to log the
user's IP address, i don't know how to do it. Any advice will be
appreciated. Do I need to use some other module besides cgi?

Thanks!






More information about the Python-list mailing list