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

Re: SOAP::Lite - Finding callers IP

by valdez (Monsignor)
on Jan 23, 2003 at 14:03 UTC ( [id://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_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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://229311]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-25 15:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found