note 7643 added to header
| From: | philliptemple at yahoo dot co dot uk | Date: | Thu, 10 Aug 2000 05:01:31 +0000 |
| Subject: | note 7643 added to header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-757@lists.php.net to get a copy of this message | ||
To all of those wanting to use Basic Authentication and are getting 'Internal Error' when
using the line:
header('HTTP/1.0 401 Unauthorized');
Use instead: Header('status: 401 Unauthorized');
And everything will start working without changing the default Apache set-up.
Phillip.
http://www.php.net/manual/function.header.php