Re: Sugestions for auth

From: Date: Mon, 04 Nov 2002 07:56:58 +0000
Subject: Re: Sugestions for auth
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-10465@lists.php.net to get a copy of this message
Does this mean I should not bother to implement it and use his auth instead or should I make the patch yavo ----- Original Message ----- From: "Wolfram Kriesing" <lists@kriesing.de> To: "Martin Jansen" <mj@php.net> Cc: "Yavor Shahpasov" <yavo@nicosia.com.cy>; <pear-dev@lists.php.net> Sent: Sunday, November 03, 2002 9:42 PM Subject: Re: [PEAR-DEV] Sugestions for auth > Martin Jansen wrote: > > On Sun Nov 03, 2002 at 07:1050PM +0200, Yavor Shahpasov wrote: > > > >>Is it possible to have a function setRequireAuth($required) (name can be > >>anything else of cource if it does not make sence) > >> > >>ex: > >> $required = array('/admin/', 'change_password.php'); > >> $showLogin = false; > >> $a = new Auth('DB', $dsn, 'myLogin', $showLogin); > >> $a->setRequireAuth($required); > >> $a->start(); > >> > >>in this case auth would de the required work to check where the login form > >>is to be shown. > > > > > > similiarly suggested by Wolfram Kriesing some time ago. (IIRC he even > > implemented it in his Auth package.) > > yes, that's how it is. > some more info can be found here > > http://marc.theaimsgroup.com/?l=pear-dev&m=103010104307216&w=2 > and of course here > http://sf.net/projects/auth > > -- > Wolfram > > ... translating template system ... > http://sourceforge.net/projects/simpletpl > now also as PEAR-package available > > ... authentication system .... > http://sf.net/projects/auth > > ... and more at .... > http://opensource.visionp.de > > > -- > PEAR Development Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.pear.dev (#10465) next »