- Add documentation for the new parameter

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@86278 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Derick Rethans 2002-06-21 09:37:45 +00:00
parent f78a38b22d
commit fdafa5ec51

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/http.xml, last change in rev 1.2 -->
<refentry id="function.header">
<refnamediv>
@ -12,6 +12,7 @@
<type>int</type><methodname>header</methodname>
<methodparam><type>string</type><parameter>string</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>replace</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>http_reponse_code</parameter></methodparam>
</methodsynopsis>
<para>
<function>header</function> is used to send raw
@ -29,11 +30,15 @@
<programlisting role="php">
<![CDATA[
header('WWW-Authenticate: Negotiate');
header('WWW-Authenticate: NTLM',false);
header('WWW-Authenticate: NTLM', FALSE);
]]>
</programlisting>
</informalexample>
</para>
<para>
The second optional <parameter>http_response_code</parameter> force the
HTTP response code to the specified value.
</para>
<para>
There are two special-case header calls. The first is a header
that starts with the string "<literal>HTTP/</literal>" (case is not