vrana Thu Jul 14 08:31:01 2005 EDT
Modified files:
/phpdoc/en/appendices ini.xml wrappers.xml
Log:
$HTTP_RAW_POST_DATA and php://input are not available with
multipart/form-data enctype (bug #32948)
http://cvs.php.net/diff.php/phpdoc/en/appendices/ini.xml?r1=1.22&r2=1.23&ty=u
Index: phpdoc/en/appendices/ini.xml
diff -u phpdoc/en/appendices/ini.xml:1.22 phpdoc/en/appendices/ini.xml:1.23
--- phpdoc/en/appendices/ini.xml:1.22 Tue Jul 12 08:11:57 2005
+++ phpdoc/en/appendices/ini.xml Thu Jul 14 08:30:59 2005
@@ -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>
http://cvs.php.net/diff.php/phpdoc/en/appendices/wrappers.xml?r1=1.50&r2=1.51&ty=u
Index: phpdoc/en/appendices/wrappers.xml
diff -u phpdoc/en/appendices/wrappers.xml:1.50
phpdoc/en/appendices/wrappers.xml:1.51
--- phpdoc/en/appendices/wrappers.xml:1.50 Sat May 7 05:09:04 2005
+++ phpdoc/en/appendices/wrappers.xml Thu Jul 14 08:31:00 2005
@@ -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 @@
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