ID:               27144
 User updated by:  martin dot cermak at proit dot cz
 Reported By:      martin dot cermak at proit dot cz
-Status:           Feedback
+Status:           Closed
 Bug Type:         dBase related
 Operating System: linux
 PHP Version:      4.3.4
 New Comment:

Thank you for help,
problem was in structure database DBF.
PHP is all right.


Previous Comments:
------------------------------------------------------------------------

[2004-02-04 19:15:00] [EMAIL PROTECTED]

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-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

Reply via email to