#47002 [NEW]: Fields truncated
| From: | victorjavierss at live dot com dot mx | Date: | Sun, 04 Jan 2009 22:17:21 +0000 |
| Subject: | #47002 [NEW]: Fields truncated | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-132544@lists.php.net to get a copy of this message | ||
From: victorjavierss at live dot com dot mx
Operating system: Windows
PHP version: 5.2CVS-2009-01-04 (snap)
PHP Bug Type: dBase related
Bug description: Fields truncated
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 bug report at http://bugs.php.net/?id=47002&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47002&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47002&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47002&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47002&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47002&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47002&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47002&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47002&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47002&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47002&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47002&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47002&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47002&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47002&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47002&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47002&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47002&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47002&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47002&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47002&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47002&r=mysqlcfg