PHP Doku:: Get response info - function.httprequest-getresponseinfo.html

Verlauf / Chronik / History: (2) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSonstige DiensteHTTPThe HttpRequestHttpRequest::getResponseInfo

Ein Service von Reinhard Neidl - Webprogrammierung.

The HttpRequest

<<HttpRequest::getResponseHeader

HttpRequest::getResponseMessage>>

HttpRequest::getResponseInfo

(PECL pecl_http >= 0.10.0)

HttpRequest::getResponseInfoGet response info

Beschreibung

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

Get response info after the request has been sent.

See http_get() for a full list of returned info.

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

Parameter-Liste

name

the info to read; if empty or omitted, an associative array containing all available info will be returned

Rückgabewerte

Returns either a scalar containing the value of the info matching name if requested, FALSE on failure, or an associative array containing all available info.


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",...)