2014-10-16 2:36 GMT+03:00 Stas Malyshev <smalys...@sugarcrm.com>:
> No, file_get_contents('php://input') is not empty - I just checked it
> and if you send PUT request the whole request - files and all - is in
> the php://input. If you don't see it you might be doing something wrong.


Yes, you're right, I'm wrong tests, send PUT
enctype="multipart/form-data" - php://input - is not empty, sorry.

But parse multi part in the PHP script is not very good solution, can
use pecl-ext HTTP, but it is better if there are an global array of
$_BODY.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to