I'm trying to write a CGI script in Perl, that just forwards client's request to an actual remote CGI program that does the actual work. And it also receives the resulting data from the remote script. Can we do this?
1) The front-end HTML (say, "front.html") sends Name and Email to a script (which I'm trying to write; filename is, say, "middle.cgi").
2) This script ("middle.cgi") confirms/tests the inputs, and forwards to the remote CGI script (say, "end.cgi").
3) "end.cgi" processes what it received from "middle.cgi" and dumps its result back to "middle.cgi".
4) "middle.cgi" dumps a simple confirmation message to the client browser.
I'm wondering if you could write me a basic, but working script ("middle.cgi") as a head-start. Thanks a million for your help! (I'm running Linux on my box)