PHP Redirect in the middle of code?
| From: | Andrew Penniman | Date: | Mon, 10 Sep 2001 14:37:54 +0000 |
| Subject: | PHP Redirect in the middle of code? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-66752@lists.php.net to get a copy of this message | ||
I am trying to figure out how to use PHP to redirect the user to a new
location *after* processing and most likely outputting a bunch of code.
Because this redirection would happen late in the game I can't use
header("Location: ".$redirect_to);
I come from a ColdFusion background and am used to CFAS' <cflocation>
tag. Does PHP have an equivalent function?
I am really hoping not to use JavaScript, I want this redirection to
happen at the server and not the client.