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


----- Original Message -----
From: "Kipp, James" <[EMAIL PROTECTED]>
To: "'Miguel Angel Morales'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, June 25, 2003 2:48 PM
Subject: RE: perl redirection


>
> >
> > Does anybody know how to redirect from a perl page with a
> > print "Content-type: text/html\r\n\r\n"; code line?
> >
>
> are you trying to redirect a client to another web site or page?
> you can try a google search for "redirect web page" and get tons of info
>
> you can use a cgi script like below:
> use CGI;
> my $q = new CGI;
> .....
> print $q->redirect( "http://someOtherPage"; );
>
>

*****************************
Madrid 2003 Global IPv6 Summit
Presentations and videos on-line at:
http://www.ipv6-es.com



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to