|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9222 dbmreplace() and dbmdelete() don't run
Submitted: 2001-02-12 02:39 UTC Modified: 2002-05-21 00:00 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: Mail at Kruemelkiller dot de Assigned:
Status: No Feedback Package: DBM/DBA related
PHP Version: 4.0.4pl1 OS: Win32
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
37 - 35 = ?
Subscribe to this entry?

 [2001-02-12 02:39 UTC] Mail at Kruemelkiller dot de
I want to use a dbm-database. I can insert, but I can't replace or delete anything. 

$dbh = dbmopen( "./data/produkte", "c" )
 or die( "Couldn't open DBM-database!" );
// This is running!

dbminsert( $dbh, "Sonic Screwdriver", "23.20" )
 or die("Insert not possible!");
// This is running, too!

dbmreplace( $dbh, "Sonic Screwdriver", "25.20" )
 or die("Replace not possible!");
// Here I get the error-alert!

dbmdelete( $dbh, "Sonic Screwdriver" )
 or die("Delete not possible!");
// Here I get the error-alert, too!

dbmclose( $dbh );

(No gdb-backtrace available, sorry)

Greetzz by da


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-19 01:14 UTC]
can you try again using php4.2.0RC4?
 [2002-05-21 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Jul 05 10:05:45 2022 UTC