PHP Doku:: Get response data - function.httprequest-getresponsedata.html

Verlauf / Chronik / History: (2) anzeigen

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

Ein Service von Reinhard Neidl - Webprogrammierung.

The HttpRequest

<<HttpRequest::getResponseCookies

HttpRequest::getResponseHeader>>

HttpRequest::getResponseData

(PECL pecl_http >= 0.10.0)

HttpRequest::getResponseDataGet response data

Beschreibung

public array HttpRequest::getResponseData ( void )

* Get all response data after the request has been sent.

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

Rückgabewerte

Returns an associative array with the key "headers" containing an associative array holding all response headers, as well as the key "body" containing a string with the response body.


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