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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: eriveltoms at gmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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 Dec 21 16:01:28 2024 UTC