Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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

Comment on Re: SOAP::Lite - Finding callers IP
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
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 lurking in the Monastery: (4)
As of 2015-11-28 22:26 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls