#32948 [Opn]: $HTTP_RAW_POST_DATA is empty if form's enctype="multipart/form-data"
| From: | chaz_meister_rock at yahoo dot com | Date: | Thu, 05 May 2005 05:45:52 +0000 |
| Subject: | #32948 [Opn]: $HTTP_RAW_POST_DATA is empty if form's enctype="multipart/form-data" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-78627@lists.php.net to get a copy of this message | ||
ID: 32948
User updated by: chaz_meister_rock at yahoo dot com
Reported By: chaz_meister_rock at yahoo dot com
Status: Open
Bug Type: HTTP related
Operating System: OSX 10.3.9
-PHP Version: 5.0.3
+PHP Version: 5.0.4
New Comment:
affects 5.0.3 and 5.0.4
Previous Comments:
------------------------------------------------------------------------
[2005-05-05 03:10:34] chaz_meister_rock at yahoo dot com
Description:
------------
$HTTP_RAW_POST_DATA is empty when using a form with
enctype="multipart/form-data" set.
php.ini contains
always_populate_raw_post_data = On
this issue looks similar to:
http://bugs.php.net/bug.php?id=23765
Reproduce code:
---------------
<?php
echo $HTTP_RAW_POST_DATA;
?>
<form enctype="multipart/form-data" method="post">
<input type="text" name="it" value="groovy" />
<input type="file" name="upFile" />
<input type="submit" />
</form>
Expected result:
----------------
it=groovy&upFile=
Actual result:
--------------
Notice: Undefined index: HTTP_RAW_POST_DATA
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32948&edit=1