ID:               16190
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         DBM/DBA related
 Operating System: Windows 2000
 PHP Version:      4.1.2
 New Comment:

The DBM-Functions on Windows truncates the values (cuts 1. char)

examplecode:

<?php
$d = dbmopen('testfile.dbm', 'c');
 dbminsert($d, '0', 'Testtext1');
 dbminsert($d, '1', 'Testtext2');
 dbminsert($d, '2', 'Testtext3');
 echo  dbmfetch($d, '0') . '<br>';
 echo  dbmfetch($d, '1') . '<br>';
 echo  dbmfetch($d, '2') . '<br>';
 dbmclose($d);
?>


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

[2002-03-20 12:43:44] [EMAIL PROTECTED]

The DBM-Functions on Windows truncates the values (cuts 1. char)

excamplecode:

<?php
        $d = dbmopen('testfile.dbm', 'c');
        dbminsert($d, '0', 'Testtext1');
        dbminsert($d, '1', 'Testtext2');
        dbminsert($d, '2', 'Testtext3');
        echo  dbmfetch($d, '0') . '<br>';
        echo  dbmfetch($d, '1') . '<br>';
        echo  dbmfetch($d, '2') . '<br>';
        dbmclose($d);
?>

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16190&edit=1

Reply via email to