|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-02-16 10:53 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 11 17:00:01 2025 UTC |
Description: ------------ Im getttion a request from an external application which has the content type of multipart/form-data.I used @file_get_contents('php://input'); / $HTTP_RAW_POST_DATA for getting the body content.But always it was empty when the content type is multipart/form-data Reproduce code: --------------- Test script <form enctype="multipart/form-data" action="test.php" method="post"> <p>Send this file: <input type=file name="filename"></p> <input type=submit value="Sumbit File"> </form> Expected result: ---------------- filename=XXXX