HttpRequest::setPostFiles
(PECL pecl_http:0.10.0-1.5.5)
HttpRequest::setPostFiles — Set post files
설명
public
bool HttpRequest::setPostFiles
( array $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를 반환합니다.