in reply to LWP User Agent Difficulty

1) How can I get the ua to pass my client's REMOTE_ADDR?

Strictly speaking, you can't. The web server at the other end of the request your UserAgent is making gets the IP address off of the socket. Without serious, OS-level magic, you can't forge that IP addr.

What you can do is to take the REMOTE_ADDR that your UserAgent sees, and either

All of these require that the CGI represented by $url cooperate.

Replies are listed 'Best First'.
Re: Re: LWP User Agent Difficulty
by Anonymous Monk on Aug 10, 2002 at 18:23 UTC
    Okay, if I add it to $url as you suggest -- How do I return the desired end result AKA the page I really need the UA to return