HttpRequest::setPostFiles
(PECL pecl_http:0.10.0-1.5.5)
HttpRequest::setPostFiles — Set post files
Leírás
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.
Paraméterek
- post_files
-
an array containing the files to post; if empty, the post files will be unset
Visszatérési értékek
Siker esetén TRUE értékkel tér vissza, ellenkező esetben FALSE értéket ad.