#47193 [Opn->Fbk]: Bad field length in header (type D and L)

From: Date: Thu, 22 Jan 2009 18:39:45 +0000
Subject: #47193 [Opn->Fbk]: Bad field length in header (type D and L)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-133165@lists.php.net to get a copy of this message
 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)

« previous php.bugs (#133165) next »