Am Mon, 24 Jun 2002 09:23:48 +0200 schrieb "Lukas Smith" <smith@xxxxxxxxx>:
> 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
--
PEAR Development Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|