How to get rid of $PHP_AUTH_USER value?
| From: | Francois Legare | Date: | Tue, 13 Mar 2001 20:12:17 +0000 |
| Subject: | How to get rid of $PHP_AUTH_USER value? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-7425@lists.php.net to get a copy of this message | ||
I would like to make a php script that remove the values associated with
$PHP_AUTH_USER and $PHP_AUTH_PW whenever a user accesses it. I tried
unset($PHP_AUTH_PW), i tried sending a 401 header with the No cigar
statement in it (header('HTTP/1.0 401 No cigar')) but it doesn't work: i
still get in the site without being ask for my uname/pword. Does anyone know
a way to get rid of $PHP_AUTH_USER and $PHP_AUTH_PW?
thank you very much
Francois Legare
flegare@interchange.ubc.ca
p.s.: the requirements forbid me from using an html form to authenticate our
users