update : 2015.11.03
php.shukuma.com

검색:
 
 
Set put file

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