php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27144 dbase_get_record_with_names
Submitted: 2004-02-04 09:52 UTC Modified: 2004-02-05 09:54 UTC
From: martin dot cermak at proit dot cz Assigned:
Status: Closed Package: dBase related
PHP Version: 4.3.4 OS: linux
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: martin dot cermak at proit dot cz
New email:
PHP Version: OS:

 

 [2004-02-04 09:52 UTC] martin dot cermak at proit dot cz
Description:
------------
Hello,:
when opening some DBF file on linux OS,I got 
finish session
in the dbase_get_record_with_names() func. 
It just disconnect the HTTP
session when encounter this func.

Database must contain MEMO fields.

Example script:
<META http-equiv=Content-Type content="text/html; charset=cp852">
<?
if ( !$file_dbf = dbase_open("XKNFAVYD.dbf",0) ) { 
	echo "Cannot open database\n";
	exit;
}

$pocet=dbase_numrecords($file_dbf);
for($i=1;$i<=$pocet;$i++) {
	$record=dbase_get_record_with_names($file_dbf,$i);
	echo "<pre>";print_r($record);echo "</pre>";
	break;
}
dbase_close($file_dbf);
?>




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-04 19:15 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

And maybe put that dbf file available somewhere so we can test ourselves too..

 [2004-02-05 09:54 UTC] martin dot cermak at proit dot cz
Thank you for help,
problem was in structure database DBF.
PHP is all right.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Mar 12 23:01:31 2025 UTC