note 9713 deleted from features.http-auth by philip

From: Date: Tue, 16 Jul 2002 18:40:55 +0000
Subject: note 9713 deleted from features.http-auth by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-33176@lists.php.net to get a copy of this message
If you were trying to read the contents of $PHP_AUTH_USER or $PHP_AUTH_PW from inside a function, you would first have to globalize them: function Authenticat () { global $PHP_AUTH_USER; global $PHP_AUTH_PW; ... } Otherwise, PHP assumes that those variables are local to the function Authenticate () and initializes them with NULL values.

« previous php.notes (#33176) next »