Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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
Re: Re: SOAP::Lite - Finding callers IP
by Pardus (Pilgrim) on Jan 23, 2003 at 14:30 UTC
    print_env.pl :
    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)? <pardus@cpan.org>
    >>>> 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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (11)
As of 2014-10-21 16:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (106 votes), past polls