Questions too pear::Config

From: Date: Fri, 21 Nov 2003 12:15:38 +0000
Subject: Questions too pear::Config
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9078@lists.php.net to get a copy of this message
Hi NG, I have here following problem. I parse with pear::Config httpd.conf of Apache. require_once('Config.php'); $datasrc = $APACHE_CONF_FILE; $conf = new Config(); $content =& $conf->parseConfig($datasrc, 'apache'); if (PEAR::isError($content)) { die($content->getMessage()); } $root_content = $content->toArray('phparray', array('name' => Virtual1')); I miss into $$root_content the "Comments" (For example "#Main Section"). In $content it is however contained. How do I get "whole" contents with "Comment" in an array? Thanks for each assistance Stefan

« previous php.pear.general (#9078) next »