http_put_stream
http_request_method_exists
HTTP Функции
PHP Manual

# 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

http_put_stream
http_request_method_exists
HTTP Функции
PHP Manual