|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-11-23 01:19 UTC] jim
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 04:00:01 2025 UTC |
the problem reason: the dBase file os opened for writing in text mode, not binary mode, and causes following: 1. if I modify database on 10-th of month or in October, the database is corrupted! 2. if I modify database on 26-th of month, the database is corrupted too... 3. if I create field with width 10, the database is corrupted too... 4. if I create field with width 26, the database is not corrupted, but... 5. if I write 10-th record, the database is corrupted too... 6. if I write 26-th record, the database is corrupted too... why? 1. if dbase.dll wites 0xa, it is traslated to 0x0d 0x0a (text mode) 2. if dbase.dll wites 26. record or field with width 26, after reading the php.exe hangs because in text mode is 26 Ctrl-Z - End of File marker.....