note 124489 added to function.header
| From: | php at ober-mail dot de | Date: | Sat, 07 Dec 2019 14:14:05 +0000 |
| Subject: | note 124489 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-213415@lists.php.net to get a copy of this message | ||
Since PHP 5.4, the function
http_âresponse_âcode() can be used to set the
response code instead of using the header() function, which requires to also set the
correct protocol version (which can lead to problems, as seen in other comments).
----
Server IP: 208.43.231.9
Probable Submitter: 185.85.3.168 (proxied: 2003:6:1361:7744:c1cd:3d4a:409e:6563)
----
Manual Page -- http://php.net/manual/en/function.header.php
Edit -- https://master.php.net/note/edit/124489
Del: integrated -- https://master.php.net/note/delete/124489/integrated
Del: useless -- https://master.php.net/note/delete/124489/useless
Del: bad code -- https://master.php.net/note/delete/124489/bad+code
Del: spam -- https://master.php.net/note/delete/124489/spam
Del: non-english -- https://master.php.net/note/delete/124489/non-english
Del: in docs -- https://master.php.net/note/delete/124489/in+docs
Del: other reasons-- https://master.php.net/note/delete/124489
Reject -- https://master.php.net/note/reject/124489
Search -- https://master.php.net/manage/user-notes.php