note 96037 deleted from function.http-redirect by danbrown

From: Date: Thu, 04 Feb 2010 15:14:40 +0000
Subject: note 96037 deleted from function.http-redirect by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-165660@lists.php.net to get a copy of this message
Note Submitter: sebastien at seebz dot net ---- I've write an equivalent function for PHP 4 >= 4.0.7 and PHP 5. It looks like this : <?php function header_redirect( $url, $permanent = false ) { // function code } ?> When $permanent is true, header_redirect() sent a HTTP header code 301 instead of 302. This function also write "The document has moved at URL" http://code.seebz.net/p/header-redirect/ Have fun ;)

« previous php.notes (#165660) next »