PHP Velho Oeste 2024

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

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