PHP Class "Config" 0.1
--------------------------------------------


This is a PHP class which is able to read and
parse sturctured config files. It returns a
data structure (hash) if parsing was successfull.

The advantage of using this class compared to the
more popular PHP-way to just include another PHP
file, is that it is human-understandable. No
semi-colons are required, no Dollarsigns, no special
tags ("<?" and family) - the user can concentrate
on the config.

It supports most of the stuff which the perl
module Config::General does:

  	o blocks
	o named blocks
	o include statement
	o multiple values (array options)
	o here-documents
	o C-comments and shell-style comments

There is no support for saving a config.


See the sample in the sample/ subdirectory about
how to use the class.



While most things are working, I need to tell you,
that this is a quick hack, which I did the other day
for some guy who asked me if he could use the
Perl Config::General module from within PHP. Of course
he cannot, I replied and "ported" the perl module
to PHP. This is the result.


Since I am not the big PHP fan and therefore not much
interested in this piece, it is very possible that
there will be no further development of this class.

Anyway, I am "releasing" it for your convenience,
perhaps someone could need it.



In case of questions, feel free, to send mail to me
(tom@daemon.de), butlease don't ask for "this feature"
or "that feature" - it will likely never happen...




Copyright (c) 2001 Thomas Linden <tom@daemon.de>.
All rights reserved.


This library is free software; you can redistribute it
and/or modify it under the same terms as Perl itself.
(ARTISTIC LICENSE)