authorization
| From: | Robert Ludvik | Date: | Thu, 07 Dec 2000 18:57:08 +0000 |
| Subject: | authorization | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-29189@lists.php.net to get a copy of this message | ||
Alan thnx for help, it works :)
and for anybody else around, who would have problem with this :>
it MUST be like this:
<?function auth() {
Header('WWW-Authenticate: Basic realm="Samo za poobla¹èene"');
Header('HTTP/1.0 401 Unauthorized');
exit;
}
= no white space at all!