develooper Front page | perl.beginners | Postings from February 2002

Seeking HTTP module

Thread Next
From:
Chuck Tomasi
Date:
February 27, 2002 14:03
Subject:
Seeking HTTP module
Message ID:
Pine.GSO.4.05.10202271556251.6863-100000@butthead
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 embedded 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.


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About