#47193 [Opn->Fbk]: Bad field length in header (type D and L)
ID: 47193
Updated by: felipe@php.net
Reported By: maxwer at ukr dot net
-Status: Open
+Status: Feedback
Bug Type: dBase related
Operating System: Win2000SP4
PHP Version: 5.2.8
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
Previous Comments:
------------------------------------------------------------------------
[2009-01-22 18:31:22] maxwer at ukr dot net
Description:
------------
When create or read or write qBase file, in header write field length
for D and L type = 0
Reproduce code:
---------------
<?php
$def = array(
array("date","D"),
array("log", "L")
);
$file_name = 'c:/test.dbf';
dbase_create($file_name,$def);
//length D and L in header is 0 IS ERROR
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47193&edit=1
Thread (3 messages)