Re: Sugestions for auth

From: Date: Sun, 03 Nov 2002 19:42:38 +0000
Subject: Re: Sugestions for auth
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-10461@lists.php.net to get a copy of this message
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

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