On Wed, 2002-02-27 at 13:43, Brandon Orther wrote:
> Does anyone have a good idea of how I can pull the info out of a conf
> file setup like this?  Maybe pull it into an array.
>  
>  
> ## Conf File ##
> <ServerName>
> domain.websites.com
> </ServerName>
> <ServerName>
> newsite.worldwideweb.net
> </ServerName>
>  
> So I would get the domain.websites.com and newsite.worldwideweb.net

Well, if the conf file is well-formed XML and not some goofy pseudo-XML
format--I've seen more of those than I care to remember ;)--, your best
bet would probably be the WDDX extension: http://www.php.net/wddx.


Cheers,

Torben

-- 
 Torben Wilson <[EMAIL PROTECTED]>
 http://www.thebuttlesschaps.com
 http://www.hybrid17.com
 http://www.inflatableeye.com
 +1.604.709.0506


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to