mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
$HTTP_RAW_POST_DATA and php://input are not available with multipart/form-data enctype (bug #32948)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@190672 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
6783e64e23
commit
3d26ad6cf8
2 changed files with 11 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.22 $ -->
|
||||
<!-- $Revision: 1.23 $ -->
|
||||
|
||||
<appendix id="ini">
|
||||
<title>&php.ini; directives</title>
|
||||
|
@ -2834,7 +2834,13 @@
|
|||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Always populate the $HTTP_RAW_POST_DATA variable.
|
||||
Always populate the <varname>$HTTP_RAW_POST_DATA</varname> containing
|
||||
the raw POST data. Otherwise, the variable is populated only with
|
||||
unrecognized MIME type of the data. However, the preferred method for
|
||||
accessing the raw POST data is <link
|
||||
linkend="wrappers.php">php://input</link>.
|
||||
<varname>$HTTP_RAW_POST_DATA</varname> is not available with
|
||||
<literal>enctype="multipart/form-data"</literal>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.50 $ -->
|
||||
<!-- $Revision: 1.51 $ -->
|
||||
<appendix id="wrappers">
|
||||
<title>List of Supported Protocols/Wrappers</title>
|
||||
<para>
|
||||
|
@ -514,6 +514,8 @@ foreach($meta_data['wrapper_data'] as $response) {
|
|||
It is a less memory intensive alternative to
|
||||
<varname>$HTTP_RAW_POST_DATA</varname> and does not need any
|
||||
special &php.ini; directives.
|
||||
<filename>php://input</filename> is not available with
|
||||
<literal>enctype="multipart/form-data"</literal>.
|
||||
</simpara>
|
||||
<simpara>
|
||||
<filename>php://stdin</filename> and
|
||||
|
|
Loading…
Reference in a new issue