php.net |  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
 [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");
</script>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-16 09:01 UTC] sander@php.net
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 http://www.php.net/downloads.php

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-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC