note 115885 deleted from httpresponse.status by sobak
| From: | sobak@php.net | Date: | Sun, 04 Dec 2016 07:28:06 +0000 |
| Subject: | note 115885 deleted from httpresponse.status by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-208126@lists.php.net to get a copy of this message | ||
Note Submitter: VolodyA! V Anarhist
----
For those with the older versions of PHP you can still set the response code by using the header
function. For example:
//HttpResponse::status(403);
header("HTTP/1.0 403 Forbidden");