Personally, I like the remote_host() command, (which you can get from reading the CGI documentation):
use strict; use warnings; use CGI qw/:standard/; use CGI::Carp qw(fatalsToBrowser); my $ipaddr = remote_host(); # Now log the address $ipaddr ...
In reply to Re: Determine ip address/hostname of requesting host
by liverpole
in thread Determine ip address/hostname of requesting host
by davidj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |