Re: [Fwd: Re: [PEAR-DEV] User authorisation class]

From: Date: Tue, 25 Jun 2002 17:12:31 +0000
Subject: Re: [Fwd: Re: [PEAR-DEV] User authorisation class]
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7349@lists.php.net to get a copy of this message
> Christian Stocker <chregu@bitflux.ch> wrote*: > > Hi > >> > of course the parse_ini_file can be replaced with the config class, >> > or any other method you like... >> By the way, i am working on a class using PEAR::Config using xml as >> file type, it looks its abou time to upgrade that class. > > Upgrade? What exactly do you mean? > >> xmldoc is deprecated ( now is domxml_open_mem() )for php 4.2, >> and should be overhauled in PHP 4.3. > > xmldoc will not be vanished in PHP 4.3 and I see no reason, why we > should do that. It's just an alias to domxml_open_mem() (actually it's > the other way round, domxml_open_mem is an alias to xmldoc :) ) That was what i read in the docs php.net...Guess i read wrong. That happened when i was starting with Config, my server claim that it didnt known nothing about xmldoc ...ok, it is compilation config...lets put "dom" to work... checking the docs to see how to... UPS "should be overhauled in PHP 4.3"... what the heck is that!!... Better try something else... i dont fell like compiling php this time. Besides, i have to upgrade my libxml2 first. > Therefore for letting Config still work under 4.1, we should not change > this in the Config-Class for the time being (and this is certainly not > a bug, both methods are exactly the same... > > I am getting another error with "Undefined property: allowed_options", > but dont know if this is a install problem or one more bug on that > class. > > Please provide a proper bug report (here on this list, or at > bugs.php.net), as i can't reproduce this. And upgrade to the latest Cant do that now. The error follow the first one about xmldoc. Have to compile php4 again --with-dom first. This error can be consequence of that one. But i will post the details on bugs.php.net, if it persist. > >> Will use parse_ini_file for now...or XML_Tree... > > If you're more pleased with them, then this is your choice :) Dont be sad ;)... I liked what i saw in Config. And i am planning to use it when i fix(/understand) those problems. Just had other priorities yesterday. S.Rocha

« previous php.pear.dev (#7349) next »