RE: [PEAR] Pear::Auth and Smarty
| From: | Simon H | Date: | Mon, 16 Dec 2002 16:43:14 +0000 |
| Subject: | RE: [PEAR] Pear::Auth and Smarty | ||
| References: | 1 | Groups: | php.pear.general php.smarty.general |
| Request: | Send a blank email to pear-general+get-2995@lists.php.net to get a copy of this message | ||
Thanks for your quick reply Arnaud!
Would you have an example you could provide. I did think that extending
the class might be the way to go, but this is beyond me unfortunately.
Thanks for your help once again.
Simon H
> -----Original Message-----
> From: LIMBOURG Arnaud [mailto:arnaud.limbourg@cegetel.fr]
> Sent: Monday, December 16, 2002 4:33 PM
> To: Simon H; Pear-General; Smarty-General
> Subject: RE: [PEAR] Pear::Auth and Smarty
> Sensitivity: Confidential
>
>
> > Hello all!
> >
> > I played with Pear::Auth last year and it worked very well,
> > but now I am
> > trying to implement it within a Smarty based site and I'm
> not sure the
> > best way to go about this. The big problem is the use of the
> > loginFunction, and where it appears on the page.
> >
> > Has anyone out there successfully implemented Auth into a
> Smarty based
> > site? Can you share your ideas?
>
> I derived my own myAuth from Auth and overrode the
> loginfunction to do a
>
> $smarty = new Smarty;
> $smarty->display();
> exit;
>
> Kind of like that.
>
> Arnaud.
>
> >
> > Any help would be grateflly received.
> >
> > Thanks in advance!
> >
> > Simon H
> >
> >
> > --
> > PEAR General Mailing List (http://pear.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>