Re: Determine ip address/hostname of requesting hostby blue_cowdawg (Monsignor)
|on Sep 21, 2006 at 21:09 UTC||Need Help??|
On a non-production machine that you don't care about try the following very evil code:
I call this evil because besides what you are looking for is some information that you really don't want to leak to the "public."
Of particular interest in your case is the following key and value that are found in the %ENV hash:
There's other information there as well but, this was what you specifically asked for.
Update: (GAH!) ikegami got his post out there before I hit "submit" Oh well, the code I put up there is good stuff anyway if you want to "play."
Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; AOL IM redcowdawg Yahoo IM: blue_cowdawg