Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redirecting a PERL script to another page

Status
Not open for further replies.

shruti18

MIS
Jun 22, 2005
30
US
I am creating a form which processes a perl script and then I want to redirect it to another page.
I have the following code:
#!opt/bin/perl
use CGI qw:)standard);
$q=new CGI;
....
....
....
....
....
print "Thank you for your submission";
print $q->redirect('
But this doesnt seem to work. Could you point out why?
 
answered in other thread, most likly because of printing "Thank You" ahead of the redirect header
--Paul

cigless ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top