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

# HttpRequest::setPostFiles

(PECL pecl_http >= 0.10.0)

HttpRequest::setPostFiles — Set post files

### Descrição

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.

### Parâmetros

`post_files`

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

### Valor Retornado

Retorna `TRUE` em caso de sucesso ou `FALSE` em falhas.

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