Are you dealing with CGI requests? $cgi->remote_addr(). If the web server is setup to do reverse lookup, you can get the address as a domain name from $cgi->remote_host().
If you're dealing with sockets, getpeername.
In reply to Re: Run only if it the request is originating from a specific machine
by ikegami
in thread Run only if it the request is originating from a specific machine
by calsaint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |