Posted by David BERCOT on 01/20/06 17:32
> David BERCOT wrote:
> > I've tried :
> > $_SERVER["PHP_AUTH_USER"] = NULL;
> > without succes...
>
> http://www.php.net/unset
>
> e.g. unset($_SERVER['PHP_AUTH_USER']);
>
> It might, however, be better practice to used an authorisation state
> variable, or something similar, i.e.
>
> if (! $auth) {
> // HTTP Headers
> }
OK. Thank you very much.
David.
[Back to original message]
|