PHP Doku:: Set response status - function.httpmessage-setresponsestatus.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSonstige DiensteHTTPThe HttpMessage classHttpMessage::setResponseStatus

Ein Service von Reinhard Neidl - Webprogrammierung.

The HttpMessage class

<<HttpMessage::setResponseCode

HttpMessage::setType>>

HttpMessage::setResponseStatus

(PECL pecl_http >= 0.23.0)

HttpMessage::setResponseStatusSet response status

Beschreibung

public bool HttpMessage::setResponseStatus ( string $status )

Set the Response Status of the HTTP message (i.e. the string following the response code).

Parameter-Liste

status

the response status text

Rückgabewerte

Returns TRUE on success or FALSE if the message is not of type HttpMessage::TYPE_RESPONSE.


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