
Druckansicht von http://www.php-homepage.de/manual/function.http-response-code.php
http_response_code(No version information available, might only be in SVN) http_response_code — Get or Set the HTTP response code Beschreibung
int http_response_code
([ int
$response_code
] )If you pass no parameters then http_response_code will get the current status code. If you pass a parameter it will set the response code. Parameter-Liste
RückgabewerteThe current response code. By default the return value is int(200). Beispiele
Beispiel #1 Examples using headers_list()
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: Siehe auch
|