#47002 [Opn]: Fields truncated
| From: | victorjavierss at live dot com dot mx | Date: | Sun, 11 Jan 2009 18:59:51 +0000 |
| Subject: | #47002 [Opn]: Fields truncated | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-132757@lists.php.net to get a copy of this message | ||
ID: 47002
User updated by: victorjavierss at live dot com dot mx
Reported By: victorjavierss at live dot com dot mx
Status: Open
Bug Type: dBase related
Operating System: Windows
PHP Version: 5.2CVS-2009-01-04 (snap)
New Comment:
Here is one of the DBF's that i'm using:
http://cid-d95738776c6cf0d0.skydrive.live.com/self.aspx/.Public/USAERF07.DBF
as I said it retrieves me 1024 fild instead of 1625
Previous Comments:
------------------------------------------------------------------------
[2009-01-11 18:50:14] typoon at gmail dot com
I was unable to find a free version of dBase so I can't really create
the file here to simulate the issue.
Could you please post a link to a .dbf file with more than 1024 fields
for me please? Put like 3 or 4 records as examples on it, just so I can
do all tests.
Thanks!
Henrique
------------------------------------------------------------------------
[2009-01-04 22:17:20] victorjavierss at live dot com dot mx
Description:
------------
I'm executing the code belong, and it supose to retrieve me 1625
fields, but it doesn't, it give me 1024 fields, also i tried with other
dbf's bigger than 1024 and the problem stills there
Reproduce code:
---------------
<?php
if ($db = dbase_open('C:\SIDEC\SIDEC-I\ARCHIVOS\USAERI07.dbf', 0)) {
$rn = dbase_numfields($db);
echo($rn);
dbase_close($db);
}
?>
Expected result:
----------------
1625
Actual result:
--------------
1024
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47002&edit=1