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

search for in the

HttpResponse::getLastModified> <HttpResponse::getGzip
Last updated: Fri, 18 Jul 2008

view this page in

HttpResponse::getHeader

(PECL pecl_http:0.12.0-1.5.5)

HttpResponse::getHeader — Get header

Descrizione

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

Get header(s) about to be sent.

Nota: Questo può non funzionare come ci si aspetta con le seguenti SAPI: Apache2 w/PHP < 5.1.3.

Elenco dei parametri

name

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

Valori restituiti

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

Vedere anche:



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

HttpResponse::getLastModified> <HttpResponse::getGzip
Last updated: Fri, 18 Jul 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites