Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Capturing IP Address from a CGI script

by ides (Deacon)
on Oct 27, 2007 at 15:41 UTC ( #647586=note: print w/ replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://647586]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2015-07-05 15:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls