Warning: Unable to open database file]
| From: | Tiago Edgar Padilha | Date: | Sat, 29 Jan 2000 07:28:52 +0000 |
| Subject: | Warning: Unable to open database file] | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15313@lists.php.net to get a copy of this message | ||
Tiago Edgar Padilha wrote:
> I use Linux Slackware 7.0, 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
> dbase_open
> 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
> the attributes 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);
echo $handle;
> ?>
>
> Or:
>
> <?php
> $db = "/tmp/test.dbf";
> $handle = dbase_open($db,2);
> ?>
Tiago Padilha