Re: Auth Package Fails
| From: | Sonny2 at gmx dot de | Date: | Wed, 06 Aug 2003 07:56:31 +0000 |
| Subject: | Re: Auth Package Fails | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-7045@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 );
>
> 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.
Super- That was it.
Thank's very much.
Cheers
Peter
--
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post