PEAR::Config

From: Date: Fri, 19 Dec 2003 06:08:02 +0000
Subject: PEAR::Config
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9695@lists.php.net to get a copy of this message
Hi, Is it possible to have an xml file like: <config> <web> <HTTP_SERVER>http://localhost</HTTP_SERVER> </web> <local> <DIR>/home/public_html</DIR> </local> </config> and to call something like &$root->toArray('web'); or just simply $settings['config']['local']['DIR'] I realize the above is not quite exact how the xml file should be i.e <config></config> but I would like to seperate into sections the variables loaded. Is there a comparable methodology? tia. _________________________________________________________________ Grab our best dial-up Internet access offer: 6 months @$9.95/month. http://join.msn.com/?page=dept/dialup

« previous php.pear.general (#9695) next »