Like php://input, http_get_request_body_stream() doesn't seem to work with enctype="multipart/form-data".
http_get_request_body_stream
(PECL pecl_http >= 0.22.0)
http_get_request_body_stream — Get request body as stream
Описание
resource http_get_request_body_stream
( void
)
Create a stream to read the raw request body (e.g. POST or PUT data).
This function can only be used once if the request method was another than POST.
Параметри
Връщани стойности
Returns the raw request body as stream on success or NULL on failure.
Вж. също
- http_get_request_body() - Get request body as string
- http_get_request_headers() - Get request headers as array
- класът HttpResponse, ако използвате PHP 5.1.0 или по-нова
http_get_request_body_stream
david at sickmiller dot com
02-Dec-2007 12:31
02-Dec-2007 12:31
