RE: [PHP] Go directly to a page
| From: | Jason Murray | Date: | Mon, 16 Oct 2000 01:12:29 +0000 |
| Subject: | RE: [PHP] Go directly to a page | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-20284@lists.php.net to get a copy of this message | ||
> > header("Location:
> > http://204.205.173.133/test/test.php");
> > exit;
> >
> > Place this before all tags and an exit; after the statement
>
> Why is the exit needed?
Otherwise PHP will continue to execute scripts on the page.
If the header is the only thing there, by all means forget the exit.
Jason