Re: undefining variables
| From: | Ed Vul | Date: | Mon, 17 Jul 2000 23:59:03 +0000 |
| Subject: | Re: undefining variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6990@lists.php.net to get a copy of this message | ||
you can make a variable undefined with unset()
but im not sure if that will work for $PHP_AUTH_USER seeing as how its
special....
Ed
"dima" <dima_berastau@ipc.co.uk> wrote in message
news:Pine.LNX.4.21.0007171837420.12735-100000@pegasus.ipc.co.uk...
> Hi everyone,
>
> I need to log a user out after $PHP_AUTH_USER/$PHP_AUTH_PW
> authentication, however sending 401 header will not do...
>
> Effectively I just need to set $PHP_AUTH_USER to null, but can't seem
> to find a method of doing so.
>
> Is there anyway to make a variable undefined?
>
> thanks in advance.
>
>
>
>
>
> --
> 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
>