Returns either the remote host name or IP address. if the former is unavailable:
$cgi->remote_host()
By the way, there's also
$cgi->remote_user()
as an alternative to $ENV{USER_NAME}. In both case, $cgi is a CGI object.
In reply to Re: Remote HostName using CGI
by ikegami
in thread Remote HostName using CGI
by vsailas
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |