At 18:20 22.02.2003, Marcus Boerger wrote:
helly           Sat Feb 22 12:20:06 2003 EDT
  Log:
  @Added dba handler inifiles to support ini files. (Marcus)

If someone wants to test this stuff:


The layout of the inifile is:
"[" <group> "]"
<name> ws* "=" ws* <value> ws*

The dba keyformat to use is: [ "[" <group> "]" ] [ <name> ]

For example:

dba_insert("[Testgroup]Testvalue", "Value", $f) will insert(append) "Testvalue" with value "Value" to group "Testgroup".
dba_delete("[Testgroup]Testvalue", $f) will remove the "Testvalue" from the group "Testgroup".
dba_delete("[Testgroup]", $f) will remove the complete group "Testgroup".


Lines before any group line are possible, too. These are identified by the group "[]" for now.
Maybe i will change this to "".


Some work is still to be done but in general it works pretty nice here.

regards
marcus



--
----------------------------------------------------------------------
Marcus Börger - Looking for all sorts of freelance work - just ask...

Did i help you? Consider a gift:
http://www.amazon.de/exec/obidos/wishlist/ho722v0rg1u0
----------------------------------------------------------------------


-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to