<?php
Header("WWW-Authenticate: Basic realm=\"Member\"");
Header("HTTP/1.0 401 Unauthorized");
?>
错误提示:
Warning: Cannot add header information - headers already sent by (output started at c:\php\test\a.php:9) in c:\php\test\a.php on line 10Warning: Cannot add header information - headers already sent by (output started at c:\php\test\a.php:9) in c:\php\test\a.php on line 11