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

search for in the

HttpRequest::setPutData> <HttpRequest::setPostFields
[edit] Last updated: Fri, 25 May 2012

view this page in

HttpRequest::setPostFiles

(PECL pecl_http >= 0.10.0)

HttpRequest::setPostFilesPOST ファイルを設定する

説明

public bool HttpRequest::setPostFiles ( array $post_files )

POST するファイルを設定します。事前に設定されているファイルを上書きします。

POST およびカスタムリクエストについてのみ影響します。 生の POST データには使用できません。

パラメータ

post_files

POST するファイルを含む配列。 空の配列を渡した場合は、設定が削除されます。

返り値

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



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

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