Регистрация Войти
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Войти через VK Войти через FB Войти через Google Войти через Яндекс
Поиск по сайту
HttpRequest::getResponseHeader
(PECL pecl_http >= 0.10.0)
HttpRequest::getResponseHeader — Get 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.
Описание класса httprequest, примеры использования класса httprequest.
Смотрите также:
Описание на ru2.php.net
Описание на php.ru