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

search for in the

HttpRequest::addPostFields> <HttpRequest::addCookies
[edit] Last updated: Fri, 18 Sep 2009

view this page in

HttpRequest::addHeaders

(PECL pecl_http >= 0.10.0)

HttpRequest::addHeadersAdd headers

Описание

public bool HttpRequest::addHeaders ( array $headers )

Add request header name/value pairs.

Параметри

headers

an associative array as parameter containing additional header name/value pairs

Връщани стойности

Връща TRUE при успех или FALSE при неуспех.



add a note add a note User Contributed Notes HttpRequest::addHeaders
There are no user contributed notes for this page.

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