Re: header error?
| From: | Julie Meloni | Date: | Tue, 08 Aug 2000 15:48:12 +0000 |
| Subject: | Re: header error? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-10712@lists.php.net to get a copy of this message | ||
> Header("WWW-Authenticate: Basic realm=\"Member\"");
> Header("HTTP/1.0 401 Unauthorized");
> just to make it be authorizable.
> but when I open that file NO authorize box
> just a internal server error.while I check the log
> It said:malformed header from script. Bad header=HTTP/1.0 401 Unauthorized:
> e:/php401/php.exe
You're trying to use PHP-based authentication w/ CGI version of PHP.
- Julie
+------------------------------------------------+
| Julie Meloni (jcm@i2ii.com) |
| Tech. Director, i2i Interactive (www.i2ii.com) |
| |
| "PHP Essentials" & "PHP Fast & Easy" |
| http://www.thickbook.com/ |
+------------------------------------------------+