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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
38 + 5 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 03:01:28 2024 UTC