From: martin dot cermak at proit dot cz
Operating system: linux
PHP version: 4.3.4
PHP Bug Type: dBase related
Bug description: dbase_get_record_with_names
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 bug report at http://bugs.php.net/?id=27144&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27144&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27144&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27144&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27144&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27144&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27144&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27144&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27144&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27144&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27144&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27144&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27144&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27144&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27144&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27144&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27144&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27144&r=float