note 23738 added to features.http-auth

From: Date: Fri, 26 Jul 2002 10:08:20 +0000
Subject: note 23738 added to features.http-auth
Groups: php.notes 
Request: Send a blank email to php-notes+get-33581@lists.php.net to get a copy of this message
Ok ok, that's logging in. How to log out? How can I unset the $_SERVER["PHP_AUTH_USER"] and $_SERVER["PHP_AUTH_PW"]? Clearly this doesn't quite work: logout.php: <?php $_SERVER["PHP_AUTH_USER"] = ""; $_SERVER["PHP_AUTH_PW"] = ""; header("Location: index.php"); ?> -- http://www.php.net/manual/en/features.http-auth.php http://master.php.net/manage/user-notes.php?action=edit+23738 http://master.php.net/manage/user-notes.php?action=delete+23738 http://master.php.net/manage/user-notes.php?action=reject+23738

« previous php.notes (#33581) next »