dba_insert() not working

Posted by latheesan, 01-09-2008, 08:30 AM
Hello, I am trying to create a class to handle dba in php based on the notes found here http://uk3.php.net/dba I am working on the function that inserts the data into a databse file based on these note for the function dba_insert() This is how my code looks like for the Insert() function in my dba class : This is how i am trying to use it : This is the error i am getting : Can someone tell me what this error is about? and how i can fix it? I am on Windows OS (where my localhost test web server is) and i am running php 5.x Oh yea, one other thing. I am not able to make any other type of database. I've tried to make these types: - dbm - ndbm - gdbm - db2 , db3 , db4 - cdb - cdb_make - qdbm Only "flatfile" type is seems to be working =\ why is this? Last edited by latheesan; 01-09-2008 at 08:33 AM.

Posted by Renard Fin, 01-09-2008, 03:43 PM
Not exactly sure here but I think the error is either located in the fact that you can't auth yourself to the Db or the fact that the database isn't chmoded correctly (look at the permissions under your windows security tabs for the anonymous user or something like that).

Posted by Codebird, 01-10-2008, 09:12 AM
yeah I agree with Renard Fin

Was this answer helpful?

 Print this Article

Also Read

Creating seperate index files for each image (or something similar)

Posted by svtVIB, 01-11-2008, 04:19 AMI created a website and I have an index.html; and in there,...

Elgg - Group Discussions

Posted by jamiedolan, 02-12-2011, 07:20 PMHello; I found a free application called Elgg. It's...

Apache/MySQL hosting in 2 locations - setup for me or tuitorial?

Posted by jcy1978, 06-27-2008, 12:22 AMGood evening all, I'd like to have the ability to offer...

setting time zone to GMT

Posted by WebHostingNeeds, 06-26-2008, 06:27 AMHi, When i try setting time zone to GMT, it do...

Whats better.....

Posted by creid, 09-10-2001, 03:06 PMHi! I was wondering what you guys think is better. Plan...