Re: Problem...header already sent by
| From: | Ryan F. Bayhonan | Date: | Tue, 05 Feb 2002 07:37:38 +0000 |
| Subject: | Re: Problem...header already sent by | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83550@lists.php.net to get a copy of this message | ||
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