PHP Doku:: Get header - function.httpresponse-getheader.html

Verlauf / Chronik / History: (50) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSonstige DiensteHTTPThe HttpResponseHttpResponse::getHeader

Ein Service von Reinhard Neidl - Webprogrammierung.

The HttpResponse

<<HttpResponse::getGzip

HttpResponse::getLastModified>>

HttpResponse::getHeader

(PECL pecl_http >= 0.12.0)

HttpResponse::getHeaderGet header

Beschreibung

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

Get header(s) about to be sent.

Hinweis:

Mit den folgenden SAPIs funktioniert dies evtl. nicht wie erwartet: Apache2 w/PHP < 5.1.3.

Parameter-Liste

name

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

Rückgabewerte

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

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)