The HttpRequest
PHP Manual

HttpRequest::setPutFile

(PECL pecl_http >= 0.10.0)

HttpRequest::setPutFileSet 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를 반환합니다.


The HttpRequest
PHP Manual