|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-06-16 08:53 UTC] 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.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 16:00:01 2025 UTC |
No solution. $_POST is OK (contains form elements), but file_get_contents('php://input') returns empty string. Laco.