ID:               47002
 Comment by:       typoon at gmail dot com
 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:

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


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to