have you set the permissions in the folders? Right click on the folder and
choose Properties...then set the appropraiate permissions
bastien
From: "Ian" <news@xxxxxxxxxxxxx>
To: php-db@xxxxxxxxxxxxx
Subject: Re: Problem with permissions Win32 dba_open
Date: Wed, 29 Dec 2004 09:15:01 -0000
"Bastien Koert" <bastien_k@xxxxxxxxxxx> wrote
> is your ms firewall turned on? ms sp2 screws a lot of stuff up..
>
> bastien
Thanks bastien,
I'm running Norton IS 2005, with Windows Firewall switched off.
Whether or not I turn off the Norton firewall results in the same error:
<?php $db = dba_open( "C:/Apache/htdocs/test.db", "c" , "db3" ); ?>
Notice: dba_open(): read: 0x12f550, 256: Permission denied in
c:\apache\htdocs\admin\dba.php on line 1
Notice: dba_open(): C:/Apache/htdocs/test.db: Permission denied in
c:\apache\htdocs\admin\dba.php on line 1
Warning: dba_open(C:/Apache/htdocs/test.db,c): Driver initialization failed
for handler: db3: Permission denied in c:\apache\htdocs\admin\dba.php on
line 1
However, this command does create a zero-byte file -
C:\Apache\htdocs\test.db.
Ian
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php