|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-11-23 01:23 UTC] jim
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 15:00:01 2025 UTC |
After adding a few Kb of records dbase files get corrupted. Here is the script I used to detect the bug: <?php echo "teste"; //dl("dbase.dll"); if(!file_exists("teste.dbf")) { $estrutura2=array(array("NUMERO","c",10,0),array("NUMERO2","N",10,0),array("NUMERO3","N",10,0), array("NUMERO4","c",10,0),array("NUMERO5","N",10,0),array("NUMERO6","N",10,0)); dbase_create("teste.dbf",$estrutura2); } $cli_id=dbase_open("teste.dbf",2); for($x=0;$x<1000;$x++) { $linha=array($x,$x+1,$x,$x,$x,$x); dbase_add_record($cli_id,$linha); } dbase_close($cli_id); ?> Hope I hear from you soon (excuse my losy english..) Thanks, Carlos Sousa From Portugal