downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

http_request_method_exists> <http_put_stream
[edit] Last updated: Fri, 25 May 2012

view this page in

http_request_body_encode

(PECL pecl_http >= 1.0.0)

http_request_body_encodeリクエスト本文をエンコードする

説明

string http_request_body_encode ( array $fields , array $files )

x-www-form-urlencoded あるいは form-data でエンコードされたリクエスト本文を作成します。

パラメータ

fields

POST フィールド。

files

POST ファイル。

返り値

成功した場合にエンコードされた文字列、 失敗した場合に FALSE を返します。



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

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