HttpRequest::setPostFields
HttpRequest::setPutData
The HttpRequest
PHP Manual

# HttpRequest::setPostFiles

(PECL pecl_http >= 0.10.0)

HttpRequest::setPostFiles — Set post files

### 설명

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.

### 인수

`post_files`

  an array containing the files to post; if empty, the post files will be unset

### 반환값

성공할 경우 `TRUE`를, 실패할 경우 `FALSE`를 반환합니다.

HttpRequest::setPostFields
HttpRequest::setPutData
The HttpRequest
PHP Manual