From: eriveltoms at gmail dot com Operating system: Windows XP PHP version: 5.2.5 PHP Bug Type: dBase related Bug description: Problems to open big DBF
Description: ------------ I have a big DBF file (version 3) to open, with 152Mb and 611224 lines. When I use dbase_open command, I receive a Warning, and don“t have access to file. I have 7 cols: PROCESSO - STRING R - STRING DATA - DATE HORA - STRING ORIGEM - STRING DESTINO - STRING OBS - STRING Reproduce code: --------------- $db = dbase_open('temp/anda.dbf', 0); if ($db) { $column_info = dbase_get_header_info($db); foreach($column_info as $cols){ echo $cols["name"]."<br>"; } } Expected result: ---------------- name_col1 name_col2 name_col3 .... name_coln Actual result: -------------- warning dbase_open() [function.dbase-open]: unable to open database temp/anda.dbf in E:\Inetpub\wwwroot\areaspublicas\importdbf.php on line 24 -- Edit bug report at http://bugs.php.net/?id=44582&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=44582&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=44582&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=44582&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=44582&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=44582&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=44582&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=44582&r=needscript Try newer version: http://bugs.php.net/fix.php?id=44582&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=44582&r=support Expected behavior: http://bugs.php.net/fix.php?id=44582&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=44582&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=44582&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=44582&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=44582&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=44582&r=dst IIS Stability: http://bugs.php.net/fix.php?id=44582&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=44582&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=44582&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=44582&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=44582&r=mysqlcfg