document PHP 5.1.2 restrictions for multi headers

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@204955 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nuno Lopes 2006-01-11 13:09:57 +00:00
parent d264bd8c6e
commit ea17e764a1

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.29 $ -->
<!-- $Revision: 1.30 $ -->
<!-- splitted from ./en/functions/http.xml, last change in rev 1.2 -->
<refentry id="function.header">
<refnamediv>
@ -15,11 +15,17 @@
<methodparam choice="opt"><type>int</type><parameter>http_response_code</parameter></methodparam>
</methodsynopsis>
<para>
<function>header</function> is used to send raw
<acronym>HTTP</acronym> headers. See the <ulink
<function>header</function> is used to send a raw
<acronym>HTTP</acronym> header. See the <ulink
url="&url.rfc;2616">HTTP/1.1 specification</ulink> for more
information on <acronym>HTTP</acronym> headers.
</para>
<note>
<para>
Since PHP 5.1.2 this function prevents more than one header to be sent
at once as a protection against header injection attacks.
</para>
</note>
<para>
The optional <parameter>replace</parameter> parameter indicates
whether the header should replace a previous similar header, or