Re: Log off
| From: | Andras Balogh | Date: | Fri, 10 Aug 2001 10:34:57 +0000 |
| Subject: | Re: Log off | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62148@lists.php.net to get a copy of this message | ||
Hi,
As is many cases read the manual:
http://www.php.net/manual/en/features.http-auth.php
BW,
Andras.
----- Original Message -----
From: "AJDIN BRANDIC" <abrandic@coventry.ac.uk>
To: <php-general@lists.php.net>
Sent: Friday, August 10, 2001 1:20 PM
Subject: [PHP] Log off
> Hi
>
> I am using HTTP authorisation to allow users to log in to vew specific
pages.
> What can I use for log off?.
>
> I tried using
> header ("HTTP/1.0 401 Unauthorised");
> header ("Location:
> http://www.mysite.com/index.php3");
>
> OR
>
> $PHP_AUTH_USER=0;
>
> but it didn't work.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net