Jasper Bryant-Greene wrote:
Jochem Maas wrote:

header('HTTP/1.1 301 Moved Permanently');


also consider that using 'Status' may be better or possibly both to cover
you bases, e.g.:


<?php

   header("HTTP/1.1 301 Moved Permanently");
   header("Status: 301 Moved Permanently");

?>


Waste of time. Go read the HTTP spec. Apologies for missing the typos, I
was rather in a hurry. The point is, it wasn't a 301 redirect.

It's not really a waste of time. Some apache/php configurations accept only the first form, some only the second.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to