note 56863 deleted from function.header by mazzanet

From: Date: Thu, 22 Sep 2005 07:36:07 +0000
Subject: note 56863 deleted from function.header by mazzanet
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-95584@lists.php.net to get a copy of this message
Note Submitter: roland dot swingler at transversal dot com ---- Redirecting using location headers doesn't happen immediately - therefore if you use the following: <?php if ($somevariable == true){ header('Location: www.someplace.com/where-i-want-to-be.php'); } header('Location: www.someplace.com/where-i-will-end-up.php'); ?> You will still always end up at the second location, regardless of whether $somevariable is true or false.

« previous php.notes (#95584) next »