Chris,

I just posted this to php-internals in response to someone else, but this
tale of woe shows the problem:

header("HTTP/1.1 301 Moved Permanently");
header("Location: http://...";);
exit();

produces a 302.

header("Location: http://...";);
header("HTTP/1.1 301 Moved Permanently");
exit();

produces a 302.

header("Location: http://...",false,301);

produces a 302 and, for good luck,

header("Location: http://...",true,301);

produces a 302.

Everything's producing a 302. So you can see the dilemma.

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

Reply via email to