in reply to Run only if it the request is originating from a specific machine
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Run only if it the request is originating from a specific machine
by calsaint (Initiate) on Aug 25, 2011 at 19:07 UTC | |
by ikegami (Patriarch) on Aug 25, 2011 at 19:30 UTC | |
by calsaint (Initiate) on Aug 25, 2011 at 22:14 UTC |