Re: [Fwd: Re: [PEAR-DEV] User authorisation class]

From: Date: Mon, 24 Jun 2002 21:02:24 +0000
Subject: Re: [Fwd: Re: [PEAR-DEV] User authorisation class]
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7332@lists.php.net to get a copy of this message
Am Mon, 24 Jun 2002 09:23:48 +0200 schrieb "Lukas Smith" <smith@dybnet.de>: > 2 more things. > > 1) > The array I mentioned should be passed by reference and any new > connections should be also referenced in this array. This way not only > existing connections will be reused but also any new connection created > by the auth class can be then used by the app. Hi Lukas, that shouldn´t be a problem. > 2) > If you want to get this thing going ASAP maybe you should not use XML to > define the server lists but just a simple php with an array. Later you > can then add the XML server list from which this php array can be > generated. This will mean that the auth class does not need to > constantly parse an XML file again. Also I don’t know how often some > other app really needs to read and/or write to the server list anyways, > so I think you don’t need to hurry with XML. Actually, the XML part is already finished and works well - thanks to XML_Tree ;-) And it´s quite essential, as not only the server list is read through XML, but also general configuration data, such as: What session name to use, what cookie settings etc.pp. - so that all applications that use the same ACLs can easily be set up to use the same settings by tweaking one central file. Regards, Markus

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