I have this in a template:
$redirect = "viewclient.php?id={$_REQUEST['id']}&foo=bar"; header("Location: $redirect");
Only, nothing happens when this code is executed. Nothing. It gets completely ignored.
I even tried:
$redirect = "viewclient.php?id={$_REQUEST['id']}&foo=bar"; echo $redirect; header("Location: $redirect");
to try and throw an error, but all that happens is the value of $redirect gets sent to the screen and then rest of the page is displayed. I know the code block is getting executed, but I have no idea WHY the header() function is not doing its job.
Any thoughts? Please CC me on the post since I am on the digest.
Thanks
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php