From:             [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:      4.1.2
PHP Bug Type:     DBM/DBA related
Bug description:  DBM Support on Windows truncates values

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 bug report at http://bugs.php.net/?id=16190&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16190&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16190&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16190&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16190&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16190&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16190&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16190&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16190&r=submittedtwice

Reply via email to