php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44582 Problems to open big DBF
Submitted: 2008-03-31 14:51 UTC Modified: 2008-07-25 01:00 UTC
From: eriveltoms at gmail dot com Assigned:
Status: No Feedback Package: dBase related
PHP Version: 5.2.5 OS: Windows XP
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2008-03-31 14:51 UTC] eriveltoms at gmail dot com
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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-25 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Jan 18 12:01:23 2020 UTC