> You can do this in perl by sending a Location header back to the > browser before you send Content-type a la: > > #!/usr/bin/perl > use strict; > use warnings; > use CGI; > use CGI::Carp 'fatalsToBrowser'; > > my $cgi = new CGI; > my $form = $cgi->Vars; > > if ($form->{no}) { > print "Location:http://www.google.com/\n\n";
exit; # for good measure > } > > # else proceed normally > print "Content-type:text/html\n\n"; > # ... > __END__ > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>