Try this as a base to get the data use strict; use LWP::Simple;
my $add="http://www.worldofcgi.com/process.cgi?term1=hello&term2=world"; ## after ? are gets my $content = get($add); print $content; Agustin Rivera Webmaster, Pollstar.com http://www.pollstar.com ----- Original Message ----- From: "Chuck Tomasi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 27, 2002 2:02 PM Subject: Seeking HTTP module > I suspect there is something out there to do what I need, but I'm not > quite sure what to look for. I was hoping this would be a more efficient > way of asking... > > Setup: Apache 1.3.x, Perl 5.6.0, Sun Solaris 2.7. > > I need to write a CGI program that makes an HTTP connection (port 80) and > does a GET from a remote server. > > My particular case is to call a Perl CGI on server A that does a GET > (calls a CGI) on server B so that it looks like server A has the data. In > reality, the first CGI is DEFANGded in a server side include (SSI) so it > can't make the call to server B's CGI directly. I've got a buddy who has > done this in PHP, and I know it can be done in Perl. > > HTML Doc --> call local CGI --> HTTP GET --> remote CGI runs > > output appears as inline text in original HTML document. > > Thanks. > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]