Re: [PHP] need help parsing named.conf file

2005-02-13 Thread Burhan Khalid
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][doma

Re: [PHP] need help parsing named.conf file

2005-02-13 Thread Robby Russell
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] = 'mas

[PHP] need help parsing named.conf file

2005-02-13 Thread Torsten Rosenberger
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'