> > > Yes James, I'm trying to redirect to a php page, but as I > use print > > > "Content-type: text/html\r\n\r\n"; whe I user your cgi > > > > > > > use CGI; > > > > my $q = new CGI; > > > > ..... > > > > print $q->redirect( "../index.php" ); > > > > > > it only writes Status: 302 Moved Location: ../index.php
forgot to mention. make sure you don't have any header code before this code. comment out the 'print Content-type...' line -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]