[PHP-DEV] Bug #2890: DBM extension on win32 does not valid database identifier error From: AdiF <email protected>
Date: 12/01/99

From: AdiF <email protected>
Operating system: Windows 98SE
PHP version: 3.0.11
PHP Bug Type: DBM/DBA related
Bug description: DBM extension on win32 does not valid database identifier error

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>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>