note 28491 added to features.http-auth
| From: | emmanuel dot keller at net2000 dot ch | Date: | Tue, 14 Jan 2003 20:14:08 +0000 |
| Subject: | note 28491 added to features.http-auth | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-42142@lists.php.net to get a copy of this message | ||
Some servers won't support the HTTP1.0 specification and will give an error 500 (for instance).
This happened with a server where I uploaded an authentication script.
If it happens, you can try the HTTP1.1 header syntax :
header("WWW-Authenticate: Basic realm=\"My Realm\"");
header('status: 401 Unauthorized');
--
http://www.php.net/manual/en/features.http-auth.php
http://master.php.net/manage/user-notes.php?action=edit+28491
http://master.php.net/manage/user-notes.php?action=delete+28491
http://master.php.net/manage/user-notes.php?action=reject+28491