RE: [PEAR] Pear::Auth and Smarty
| From: | LIMBOURG Arnaud | Date: | Mon, 16 Dec 2002 16:33:08 +0000 |
| Subject: | RE: [PEAR] Pear::Auth and Smarty | ||
| Groups: | php.pear.general php.smarty.general | ||
| Request: | Send a blank email to pear-general+get-2994@lists.php.net to get a copy of this message | ||
> 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
>