On 10 Mar 2004 Henry Grech-Cini wrote:
> My question is are there problems with:
>
> <?php
> header("Location: ".$url[$index]);
> ?>
As long as no other headers have been sent that should work fine.
Location: is the standard method for redirection -- I'm not aware of
any circumstances in which it won't work. Perhaps others are.
If you output a location header then I don't know what the browser will
do with text sent after that. Hopefully nothing!
--
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php