Re: need help parsing named.conf file
| From: | Burhan Khalid | Date: | Mon, 14 Feb 2005 06:20:42 +0000 |
| Subject: | Re: need help parsing named.conf file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-208627@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'http://pear.php.net/package/File_DNS