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 を返します。
http_request_body_encode
There are no user contributed notes for this page.
