Re: Re: cvs: php4 /ext/dba config.m4 dba.c dba_inifile.c php_inifile.h /ext/dba/libinifile .cvsignore inifile.c inifile.h /ext/dba/tests
dba_inifile.phpt
| From: | Jani Taskinen | Date: | Sun, 23 Feb 2003 02:49:38 +0000 |
| Subject: | Re: Re: cvs: php4 /ext/dba config.m4 dba.c dba_inifile.c php_inifile.h /ext/dba/libinifile .cvsignore inifile.c inifile.h /ext/dba/tests dba_inifile.phpt |
||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94482@lists.php.net to get a copy of this message | ||
I kinda missed the point of this thing..any real life examples..? :)
--Jani
On Sat, 22 Feb 2003, Marcus Börger wrote:
>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
>
>
>
>
--
<- For Sale! ->