note 76539 deleted from function.header by nlopess
| From: | nlopess@php.net | Date: | Thu, 19 Jul 2007 18:26:08 +0000 |
| Subject: | note 76539 deleted from function.header by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-128737@lists.php.net to get a copy of this message | ||
Note Submitter: ed-php at s5h dot net
----
I had a great deal of trouble creating a 301 HTTP redirect. I found the most reliable way to do this
was using the following:
<?php
header( "Status: 301" );
header( "Location: http://www.s5h.net/" );
exit;
?>