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

search for in the

HttpRequest::setRawPostData> <HttpRequest::setPutFile
[edit] Last updated: Fri, 24 May 2013

view this page in

HttpRequest::setQueryData

(PECL pecl_http >= 0.10.0)

HttpRequest::setQueryDataSet query data

说明

public bool HttpRequest::setQueryData ( mixed $query_data )

Set the URL query parameters to use, overwriting previously set query parameters.

Affects any request types.

参数

query_data

a string or associative array parameter containing the pre-encoded query string or to be encoded query fields; if empty, the query data will be unset

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE



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

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