downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<HttpResponse::getGzipHttpResponse::getLastModified>
Last updated: Thu, 26 Jun 2008

HttpResponse::getHeader

(PECL pecl_http:0.12.0-1.5.5)

HttpResponse::getHeader — Get header

Description

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

Get header(s) about to be sent.

Note: This may not work as expected with the following SAPI(s): Apache2 w/PHP < 5.1.3.

Parameters

name

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

Return Values

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



add a noteadd a note User Contributed Notes
Get header
There are no user contributed notes for this page.




<HttpResponse::getGzipHttpResponse::getLastModified>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs