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::getHeaderConsultar cabecera

Descripción

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

Consulta la/s cabecera/s que se van a enviar.

Nota:

Esto puede no funcionar como se espera en el(los) siguiente(s) SAPI(s): Apache2 w/PHP < 5.1.3.

Parámetros

name

establece el nombre de la cabecera que se va a consultar; si se omitiera o estuviera vacío, se devolvería un array asociativo con todas las cabeceras

Valores devueltos

Devuelve o bien un string con el valor de la cabecera consultada, FALSE en caso de error, o un array asociativo con todas las cabeceras.

Ver también



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