#32948 [NEW]: $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 01:10:35 +0000 |
| Subject: | #32948 [NEW]: $HTTP_RAW_POST_DATA is empty if form's enctype="multipart/form-data" | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-78624@lists.php.net to get a copy of this message | ||
From: chaz_meister_rock at yahoo dot com
Operating system: OSX 10.3.9
PHP version: 5.0.3
PHP Bug Type: HTTP related
Bug description: $HTTP_RAW_POST_DATA is empty if form's
enctype="multipart/form-data"
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 bug report at http://bugs.php.net/?id=32948&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32948&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32948&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32948&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32948&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32948&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32948&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32948&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32948&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32948&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32948&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32948&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32948&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32948&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32948&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32948&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32948&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32948&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32948&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32948&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32948&r=mysqlcfg