http://www.perlmonks.org?node_id=647586


in reply to Capturing IP Address from a CGI script

You can get the sending hostname ( or IP if the hostname is unavailable ) via $cgi->remote_host() and then log it to a file or store it however you want.

Frank Wiles <frank@revsys.com>
www.revsys.com

  • Comment on Re: Capturing IP Address from a CGI script