©
本文档使用
php.cn手册 发布
(PECL pecl_http >= 0.10.0)
HttpRequest::setPutFile — Set put file
$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
。