|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2890 DBM extension on win32 does not valid database identifier error
Submitted: 1999-12-01 22:48 UTC Modified: 2002-06-16 09:01 UTC
From: AdiF at Home dot com Assigned:
Status: Not a bug Package: DBM/DBA related
PHP Version: 3.0.11 OS: Windows 98SE
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: AdiF at Home dot com
New email:
PHP Version: OS:


 [1999-12-01 22:48 UTC] AdiF at Home dot com
I have tried installing OMNIHTTPd 2.04 PRO on two computers with Win98SE and PHP3.0.11
I always get:

Warning: not a valid database identifier 0 in F:\HTTPD\HTDOCS\main.php3 on line 122

Here is a short script that would be enough to cause this error with the php3_dbm.dll extension loaded:

<script language=php>
$d = "D:\httpd\HtDocs\database\newsdb";
$db = dbmopen($d, "r");

$totalarts = dbmFetch($db,  "highstory");


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-16 09:01 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Dec 01 04:01:29 2023 UTC