Re: Redirection
| From: | Clive Hughes | Date: | Fri, 13 Oct 2000 14:22:21 +0000 |
| Subject: | Re: Redirection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-20011@lists.php.net to get a copy of this message | ||
Hi,
You don't have to do the redirection before any other output if you use
buffered output
--Clive
----- Original Message -----
From: "Sander Pilon" <sander@3dnews.net>
To: "Peter Benoit" <pbenoit@triton-network.com>; <php-general@lists.php.net>
Sent: Friday, October 13, 2000 2:02 PM
Subject: RE: [PHP] Redirection
> Absolute:
>
> <?php
> Header("Location: http://www.bord.net");
> ?>
>
> Relative:
>
> <?php
> Header("Location: /index.php");
> ?>
>
> You dont have to do it on the first line, but you DO have to do it before
> any other output.
>
> -S
>
> > -----Original Message-----
> > From: Peter Benoit [mailto:pbenoit@triton-network.com]
> > Sent: 13 October 2000 15:00
> > To: php-general@lists.php.net
> > Subject: [PHP] Redirection
> >
> >
> > How do I redirect in PHP? And can I only do it on the first line?
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>