dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

http_request_method_exists> <http_put_stream
[edit] Last updated: Fri, 28 Jun 2013

view this page in

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.



add a note add a note User Contributed Notes http_request_body_encode - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites