note 96934 deleted from function.header by tularis
| From: | tularis@php.net | Date: | Fri, 04 Apr 2014 11:24:54 +0000 |
| Subject: | note 96934 deleted from function.header by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-199144@lists.php.net to get a copy of this message | ||
Note Submitter: SDPhantom
----
Also note, if you add a header line in addition to supply a status code in the same call, it will do
both.
Example:
<?php header('WWW-Authenticate: Basic realm="My Realm"',true,401); ?>
Will output both:
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Basic realm="My Realm"