Re: Auth Package Fails

From: Date: Tue, 05 Aug 2003 22:53:51 +0000
Subject: Re: Auth Package Fails
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-7032@lists.php.net to get a copy of this message
On Tue, 5 Aug 2003 19:47:08 +0200 (MEST), Sonny2@gmx.de wrote: > > $auth =& new Auth("DB", $params, loginForm ); > > May someone can help me? Or could this be an bug in PEAR? It's not a bug, but I'd like to see this changed too. As you can see in the documentation (look at the warning before Example 15-2): http://pear.php.net/manual/en/package.authentication.auth.intro.php you cannot use $auth because it's the name of the session variable too. Use $user = new Auth() instead. Best regards, Lorenzo

« previous php.pear.general (#7032) next »