Re: [PHP-DB] Problem with PHP_AUTH_USER

2003-12-15 Thread Ng Hwee Hwee
d the same problem and was puzzled for quite some time, but i think this works.. hth hwee - Original Message - From: "Constantin Brinzoi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 15, 2003 5:16 PM Subject: [PHP-DB] Problem with PHP_AUTH_USER

[PHP-DB] Problem with PHP_AUTH_USER

2003-12-15 Thread Constantin Brinzoi
Hi! Here is the problem: How can I unset the $PHP_AUTH_USER when the user clicks "logout"? The authentication works very well except the log out. I tried: session_destroy(); unset($_SERVER['PHP_AUTH_USER']) and in the next line I did: print $PHP_AUTH_USER; and the val