I'm not sure exactly what you're asking. To issue a redirect, you can send the Location header, as in
print "Location:$url\n\n"; #which is wrong, see below.
Which must be issued BEFORE you send any output to the browser. Alternately, you can use CGI.pm's redirect function:
print CGI::redirect($url);
I'd use the CGI param function to get data from forms, though.
Note: neither of these will 'send along' your POSTed data to the following URL.
Philosophy can be made out of anything. Or less -- Jerry A. Fodor |