note 23738 deleted from features.http-auth by dams

From: Date: Tue, 30 Jul 2002 00:47:24 +0000
Subject: note 23738 deleted from features.http-auth by dams
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-33948@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"); ?>

« previous php.notes (#33948) next »