Документация PHP
| Документация DHTML | Документация Smarty | SVG/VML Графика и JavaScript
| Документация bash |
HttpRequest::setPutFile
(PECL pecl_http:0.10.0-1.5.5)
HttpRequest::setPutFile — Set put file
Описание
public bool HttpRequest::setPutFile ([ string $file ] )
Set file to put. Affects only PUT requests.
Список параметров
- file
-
the path to the file to send; if empty or omitted the put file will be unset
Возвращаемые значения
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.