Warning: Unable to open database file
| From: | Tiago Edgar Padilha | Date: | Sat, 29 Jan 2000 05:25:41 +0000 |
| Subject: | Warning: Unable to open database file | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15309@lists.php.net to get a copy of this message | ||
I use Linux, Php 3.012 and Apache server on my server. I wrote a script
that acess a dbase files with dbase_open function, I able the read-write
attributes of these files to all users. I run the script with the
function mode read only, it functs correctly, but I change this mode to
write only or read-write, it return a warning like the file didn't have
th attirbutes from read write to all users.
OBS: The database used in example exists.
Here it's the example that I used:
<? php
$db = "/tmp/test.dbf";
$handle = dbase_open($db,1);
?>
Or:
<?php
$db = "/tmp/test.dbf";
$handle = dbase_open($db,2);
?>