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

search for in the

HttpResponse::getLastModified> <HttpResponse::getGzip
[edit] Last updated: Fri, 17 May 2013

view this page in

HttpResponse::getHeader

(PECL pecl_http >= 0.12.0)

HttpResponse::getHeaderGet header

Descrierea

static mixed HttpResponse::getHeader ([ string $name ] )

Get header(s) about to be sent.

Notă:

Aceasta poate să nu funcționeze conform așteptărilor cu următoarele SAPI(uri): Apache2 w/PHP < 5.1.3.

Parametri

name

specifies the name of the header to read; if empty or omitted, an associative array with all headers will be returned

Valorile întoarse

Returns either a string containing the value of the header matching name, FALSE on failure, or an associative array with all headers.

Vedeți de asemenea



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

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