Ryan,
I just tried it with my Linux box and I get the authentication
box...which is good sign. So it looks like a PHP in MS Windows (the
'fabulous' windows) setting which from the error.log file indicates as well.
/****** error message listed in error.log **********/
[Mon Feb 04 22:36:30 2002] [error] [client 127.0.0.1] malformed header
from script. Bad header=HTTP/1.0 401 Unauthorized: /apache/php/php.exe
In looks like a setting problem in some .ini file. Do you know how to
correct this problem?
Thanks for the help!
-Peter
Ryan F. Bayhonan wrote:
> It will work as expected Peter.
>
> <?php
> header ("WWW-authenticate: Basic realm=\"Private\"");
> header ("HTTP/1.0 401 Unauthorized");
> echo "Unauthorized";
> exit;
> ?>
>
> So where do we go from here??
>
> Ryan
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php