downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

HttpRequest::setPutData> <HttpRequest::setPostFields
[edit] Last updated: Fri, 24 May 2013

view this page in

HttpRequest::setPostFiles

(PECL pecl_http >= 0.10.0)

HttpRequest::setPostFilesSet post files

Description

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.

Parameters

post_files

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

Return Values

Returns TRUE on success or FALSE on failure.



add a note add a note User Contributed Notes HttpRequest::setPostFiles - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites