PHP 7.1.0 Release Candidate 4 Released


(PECL pecl_http >= 0.22.0)

http_get_request_body_streamGet 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.

Elenco dei parametri

Valori restituiti

Returns the raw request body as stream on success or NULL on failure.

Vedere anche:

add a note add a note

User Contributed Notes 1 note

david at sickmiller dot com
8 years ago
Like php://input, http_get_request_body_stream() doesn't seem to work with enctype="multipart/form-data".
To Top