|
楼主 |
发表于 2004-12-4 15:46:31
|
显示全部楼层
我改成了這個樣子:
<?php
header('WWW-Authenticate: Negotiate');
header('WWW-Authenticate: NTLM', false);
?>
<html>
<body>
<body>
</html>
現在在Zend裡面的輸出是:
Status: 401
Content-type: text/html
X-Powered-By: PHP/5.0.0
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
<html>
<body>
<body>
</html>
而在自己Apacke上打開的網友上依舊是:
Warning: Cannot modify header information - headers already sent by (output started at D:\Program Files\Apache Group\Apache2\htdocs\zend\index3.php:2) in D:\Program Files\Apache Group\Apache2\htdocs\zend\index3.php on line 3
Warning: Cannot modify header information - headers already sent by (output started at D:\Program Files\Apache Group\Apache2\htdocs\zend\index3.php:2) in D:\Program Files\Apache Group\Apache2\htdocs\zend\index3.php on line 4
正是奇怪了 |
|