|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-05-29 09:22 UTC] davidtaylor at pobox dot com
[2002-06-11 08:25 UTC] davidtaylor at pobox dot com
[2002-08-28 12:57 UTC] kalowsky@php.net
[2002-09-21 02:09 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 01:00:01 2025 UTC |
Show the script below the text. When I create a new db file, extras data has been stored. In all cases, it was the script itself (ask me if you need the new db file directly). I think it's a bug (or a new backup feature ;). Config details : gdbm 1.8.0 libc6 kernel 2.4.10 data on a reiserfs partition Is it due to a default filesize ? If yes do you make a zero fill of the extra memory used ? <? $id = dba_open("/tmp/test2.db","n","gdbm"); if(!$id){ echo "Erreur dba_open"; exit; } dba_replace("key","This a test!",$id); if(dba_exists("key",$id)){ echo dba_fetch("key",$id); }else{ echo "Not found"; } dba_close($id); ?>