mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Remove confusing note about Status: in PHP 3 (bug #32122)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183282 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
2b1ac5dc6e
commit
2c965905ee
1 changed files with 1 additions and 17 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.24 $ -->
|
||||
<!-- $Revision: 1.25 $ -->
|
||||
<!-- splitted from ./en/functions/http.xml, last change in rev 1.2 -->
|
||||
<refentry id="function.header">
|
||||
<refnamediv>
|
||||
|
@ -73,22 +73,6 @@ header("HTTP/1.0 404 Not Found");
|
|||
at any time unless the HTTP headers have already been sent.
|
||||
</para>
|
||||
</note>
|
||||
<note>
|
||||
<para>
|
||||
In PHP 3, this only works when PHP is compiled as an Apache
|
||||
module. You can achieve the same effect using the
|
||||
<literal>Status</literal> header.
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
header("Status: 404 Not Found");
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
The second special case is the "Location:" header. Not only does
|
||||
it send this header back to the browser, but it also returns a
|
||||
|
|
Loading…
Reference in a new issue