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

search for in the

HttpRequest::setPostFiles> <HttpRequest::setOptions
[edit] Last updated: Fri, 25 May 2012

view this page in

HttpRequest::setPostFields

(PECL pecl_http >= 0.10.0)

HttpRequest::setPostFieldsPOST フィールドを設定する

説明

public bool HttpRequest::setPostFields ( array $post_data )

POST データエントリを設定します。事前に設定されている POST データが上書きされます。

POST およびカスタムリクエストについてのみ影響します。

パラメータ

post_data

POST フィールドを含む連想配列。 空の配列を渡した場合は、 POST データが削除されます。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。



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

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