#27144 [Opn->Fbk]: dbase_get_record_with_names
| From: | sniper@php.net | Date: | Thu, 05 Feb 2004 00:15:00 +0000 |
| Subject: | #27144 [Opn->Fbk]: dbase_get_record_with_names | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-54414@lists.php.net to get a copy of this message | ||
ID: 27144
Updated by: sniper@php.net
Reported By: martin dot cermak at proit dot cz
-Status: Open
+Status: Feedback
Bug Type: dBase related
Operating System: linux
PHP Version: 4.3.4
New Comment:
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..
Previous Comments:
------------------------------------------------------------------------
[2004-02-04 09:52:46] 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);
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27144&edit=1