ID: 33359
User updated by: lacak at users dot sourceforge dot net
Reported By: lacak at users dot sourceforge dot net
-Status: Feedback
+Status: Open
Bug Type: HTTP related
Operating System: Win98
PHP Version: 5.0.3
New Comment:
No solution.
$_POST is OK (contains form elements), but
file_get_contents('php://input') returns empty string.
Laco.
Previous Comments:
------------------------------------------------------------------------
[2005-06-16 10:50:27] [EMAIL PROTECTED]
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2005-06-16 08:53:33] lacak at users dot sourceforge dot net
Description:
------------
file_get_contents('php://input') (and also file, fopen+fread) does not
return POST data, when submited form with
enctype="multipart/form-data".
When submited the same form without enctype specified (so default
"application/x-www-form-urlencoded" is used) all works OK.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=33359&edit=1