in reply to CGI question

If your target accepts GET requests, you can simply issue a 302 redirect to send the user to their target location, see CGI on the redirect method.

Replies are listed 'Best First'.
Re^2: CGI question
by Chuma (Scribe) on Feb 16, 2010 at 09:53 UTC
    Oh right, I forgot to mention that. I could use a "get" instead, but that's inconvenient for other reasons. The user might input completely different values of x and y and mess things up. So I think it has to be "post".

      The user can also put in completely different values for X and Y in a POST request. If you want real security, either fetch the results on behalf of the user yourself, and output them to the user (using LWP::UserAgent), or store the data in a session and pick up the data in the target from that session.