#47002 [Com]: Fields truncated

From: Date: Sun, 11 Jan 2009 18:50:14 +0000
Subject: #47002 [Com]: Fields truncated
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-132756@lists.php.net to get a copy of this message
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

« previous php.bugs (#132756) next »