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

search for in the

HttpRequest::getResponseInfo> <HttpRequest::getResponseData
Last updated: Fri, 10 Oct 2008

view this page in

HttpRequest::getResponseHeader

(PECL pecl_http:0.10.0-1.5.5)

HttpRequest::getResponseHeaderGet response header(s)

Описание

public mixed HttpRequest::getResponseHeader ([ string $name ] )

Get response header(s) after the request has been sent.

If redirects were allowed and several responses were received, the data references the last received response.

Список параметров

name

header to read; if empty, all response headers will be returned

Возвращаемые значения

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



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

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