RE: [PHP] Redirection
| From: | Sander Pilon | Date: | Fri, 13 Oct 2000 13:02:02 +0000 |
| Subject: | RE: [PHP] Redirection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-19998@lists.php.net to get a copy of this message | ||
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
>