Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: SOAP::Lite - Finding callers IP

by valdez (Monsignor)
on Jan 23, 2003 at 14:03 UTC ( #229311=note: print w/replies, xml ) Need Help??

in reply to SOAP::Lite - Finding callers IP

If you are using Apache, look into the %ENV variable; there you will find REMOTE_ADDR and other useful informations.

Ciao, Valerio

Replies are listed 'Best First'.
Re: Re: SOAP::Lite - Finding callers IP
by Pardus (Pilgrim) on Jan 23, 2003 at 14:30 UTC :
    print "Content-type: text/html\n\n"; print "<HTML> <HEAD><TITLE>Env</TITLE></HEAD> <BODY><TABLE>\n"; while (my ($k, $v) = each %ENV) { print "<TR><TD>$k</TD><TD> = $v</TD></TR>\n"; } print "</TABLE></BODY></HTML>";

    Jaap Karssenberg || Pardus (Larus)? <>
    >>>> Zoidberg: So many memories, so many strange fluids gushing out of patients' bodies.... <<<<
Re: Re: SOAP::Lite - Finding callers IP
by Biker (Priest) on Jan 24, 2003 at 08:50 UTC

    I do use Apache, but I must keep my CGI script compatible between Apache and IIS V5. (Company policies.)

    And yes, I can find REMOTE_ADDR => in both environments.

    Great. Thanks a lot.

    Everything went worng, just as foreseen.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2022-08-12 14:18 GMT
Find Nodes?
    Voting Booth?

    No recent polls found