©
本文檔使用 php中文網手册 發布
(PECL pecl_http >= 0.10.0)
HttpRequest::setPostFiles — Set post files
$post_files
)Set files to post, overwriting previously set post files.
Affects only POST and requests. Cannot be used with raw post data.
post_files
an array containing the files to post; if empty, the post files will be unset
成功时返回 TRUE
, 或者在失败时返回 FALSE
。