php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23463 dBase II not supported/no error
Submitted: 2003-05-03 06:00 UTC Modified: 2003-10-11 21:09 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: misiek at pld dot org dot pl Assigned:
Status: Wont fix Package: dBase related
PHP Version: 5CVS-2003-05-03 (dev) OS: All
Private report: No CVE-ID: None
 [2003-05-03 06:00 UTC] misiek at pld dot org dot pl
Seems that dBase II files are not supported. Even there is no 
error when using dbase_() functions on such database. 
 
It would be enough to just return ,,-1'' but the main problem is 
how to detect if we are dealing with dBase II. 
 
http://www.bsdg.org/swag/MISC/0028.PAS.html 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-16 14:46 UTC] kgleason at finelight dot com
Experiencing the same problem with PHP 4.3.0 running a Mac OSX Server environement. It is running Apache 1.3.27. A customers web page is trying to access an old dbase file (not sure which version of dbase) that may (or may not) have been created using Microsoft Excel (.dbf) and when the page is called, it simply returns you to the same page, without open the dbase file and no errors are being reported. I compiled (and recompiled) PHP with --enable-dbase, and nothing.
 [2003-08-06 14:14 UTC] vlad@php.net
dbase2 has never been supported, and differs too much from 
dbase3+ to support it easily. Instead, now an error will be shown 
should you try to open a dbase2 (or earlier version) file. 
 [2003-10-11 21:09 UTC] vlad@php.net
There isn't an easy way to fix that - everybody seems to think they can use dbase versions as they see fit. My attempted fix broke a bunch of things. - see bug #25558.

If anyone has a bright idea about how to go about it, please tell me, but I am pretty sure there is no good non-magical way to fix this.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 15:01:30 2024 UTC