|
http_response_codeGet or Set the HTTP response code Description
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. Parameters
Return ValuesThe current response code. By default the return value is int(200). Examples
Example #1 Examples using http_response_code
<?php The above example will output: See Also
|