PHP Dokumentation: Function httprequest-setpostfiles
12. Januar 2010 von werner
HttpRequest::setPostFiles
(PECL pecl_http >= 0.10.0)
HttpRequest::setPostFiles — Set post files
Beschreibung
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.
Parameter-Liste
- post_files
an array containing the files to post; if empty, the post files will be unset
Rückgabewerte
Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.