HTTP 函数
在线手册:中文  英文

http_get_request_body_stream

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

参数

返回值

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

参见


HTTP 函数
在线手册:中文  英文

用户评论:

david at sickmiller dot com (2007-12-01 19:31:17)

Like php://input, http_get_request_body_stream() doesn't seem to work with enctype="multipart/form-data".

易百教程