From:             [EMAIL PROTECTED]
Operating system: linux
PHP version:      4.1.1
PHP Bug Type:     Unknown/Other Function
Bug description:  safe mode & basic authentication

the following problem, a script works flawlessly without safe mode, but
when safe mode enabled, the row

header("WWW-Authenticate: Basic realm=\"anything\"");

causes very strange error: apache doesn't return anything (no headers, no
content) - size 0 (i checked it even through telnet).

when i comment this line, just the HTML message for the incorrect user or
password is displayed (which should be displayed when cancel is hit by the
user)

the code below is

header("HTTP/1.0 401 Unauthorized");
echo 'incorrect user or password';
die();

I'm not 100% percent sure, but I think it is not error of configuring php
-- 
Edit bug report at: http://bugs.php.net/?id=14964&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to