note 100481 deleted from function.http-redirect by danbrown

From: Date: Tue, 19 Oct 2010 13:02:33 +0000
Subject: note 100481 deleted from function.http-redirect by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-173273@lists.php.net to get a copy of this message
Note Submitter: PagesByTom ---- Brand New to PHP, found this elsewhere, works perfectly! When you are wanting to forward within a current running PHP program... if ($testvar == $othervar) { // start of forward ob_start(); header("Location: http://www.yoursite.com/other.php"); ob_flush(); // end of forward } else { //other stuff } ?>

« previous php.notes (#173273) next »