Re: need help parsing named.conf file
| From: | M. Sokolewicz | Date: | Sun, 13 Feb 2005 17:59:39 +0000 |
| Subject: | Re: need help parsing named.conf file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-208606@lists.php.net to get a copy of this message | ||
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' . . BR/Torsten and "the named.conf" looks like.....?