Online Shopping : Computers : Programming : Languages : PHP : Database Backed Sites : DBM

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

56 of 68 people (82%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

My hosting service just upgraded to PHP4, beta 2, from PHP3. My scripts which call "dbmopen()" no longer work - "undefined function". Ideas?

Apr 18th, 2000 03:42
Matteo Beccati, Kenneth Malmquist, Nathan Wallace,


Just try to use these:

$id = dba_open($filename, $mode, "gdbm")

and the other functions:

dba_fetch($id)
dba_insert($id)
etc...

This should work, as long as your ISP configured php4 with
"--enable-module=dbase --enable-module=gdbm" options.