在 PHP 中使用 header 遇到的问题。

今天在使用 header 的时候,发现 如果
header("HTTP/1.1  434  there is some wrong ");
中 没有后面的 错误信息,也就是 使用
header("HTTP/1.1 434");
的话,会返回 500,而不是我们想要的 434。
这个以后需要注意一下。
This article is posted by on , link is .

Leave a reply