Freelance PHP programmer India | Freelance web developer india | Web development India | web developer CV india | Compiling PHP and Apache 2 from source on Linux
HTTP Functions
PHP Manual

http_request_body_encode

(PECL pecl_http >= 1.0.0)

http_request_body_encodeEncode request body

Description

string http_request_body_encode ( array $fields , array $files )

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

Parameters

fields

POST fields

files

POST files

Return Values

Returns encoded string on success, or FALSE on failure


HTTP Functions
PHP Manual