On Sun, 2005-02-13 at 16:46 +0100, Torsten Rosenberger wrote:
> Hello
> 
> is there a way to parse the named.conf file with preg_match_all to get
> back an array which looks like
> 
> [options][directory] = '/var/lib/named'
> [options][forwoarder] = '192.168.0.2'
> [zone][mydomain.com][type] = 'master'
> [zone][mydomain.com][notify] = 'yes'
> [zone][domain2.com][type] = 'slave'
> .
> .

You might try googling for some existing classes that do this.

http://sourceforge.net/projects/phpbind/


-- 
/***************************************
* Robby Russell | Owner.Developer.Geek
* PLANET ARGON  | www.planetargon.com
* Portland, OR  | [EMAIL PROTECTED]
* 503.351.4730  | blog.planetargon.com
* PHP/PostgreSQL Hosting & Development
* --- Now hosting Ruby on Rails Apps ---
****************************************/

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

Reply via email to