HttpRequest::setPostFiles
(PECL pecl_http >= 0.10.0)
HttpRequest::setPostFiles — Set post files
Descrierea
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.
Parametri
-
post_files -
an array containing the files to post; if empty, the post files will be unset
Valorile întoarse
Întoarce valoarea TRUE în cazul
succesului sau FALSE în cazul eșecului.
There are no user contributed notes for this page.
