您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

http_request_body_encode

(PECL pecl_http:1.0.0-1.5.5)

http_request_body_encode — Encode request body

说明

string http_request_body_encode ( array $fields , array $files )

Generate x-www-form-urlencoded resp. form-data encoded request body.

参数

fields

POST fields

files

POST files

返回值

Returns encoded string on success, or FALSE on failure