SunshinePHP Developer Conference 2015

http_request_body_encode

(PECL pecl_http >= 1.0.0)

http_request_body_encodeEncode request body

Descrição

string http_request_body_encode ( array $fields , array $files )

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

Parâmetros

fields

POST fields

files

POST files

Valor Retornado

Returns encoded string on success ou FALSE em caso de falha.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top