Re: Go directly to a page

From: Date: Mon, 16 Oct 2000 00:11:05 +0000
Subject: Re: Go directly to a page
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-20286@lists.php.net to get a copy of this message
The exit stops any content being sent. When redirecting you don't need anymore parsing to be done. This is unlike the HTML redirect which has an optional timeout period. This has none. Besides, the manual says so :) -Srini ----- Original Message ----- From: <kevin@oceania.net> Cc: <php-general@lists.php.net> Sent: Monday, October 16, 2000 5:41 AM Subject: Re: [PHP] Go directly to a page > Srinivasan Ramakrishnan wrote: > > > > 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? > > -- > Kind regards > > Kevin Waterson > > -- > 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 > >

« previous php.general (#20286) next »