$db = dbase_open("c:\\Przewozy\\BAZY\\Ceny.dbf", 0);
Or if you can map the drive, then you should be able to use a path like
above using the mapped drive or \\server\volume\path\test.dbf
Can you call up the file in Windows Explorer?
___
Becouse I wont read files, exactly *.dbf, from local machine, not from
server. I have no problem with read or changing directory, if database is
located on server.
Thanks for any suggestion.
So you are running PHP on your local machine "localhost" which happens to be
a Windows machine, and als
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Thu, Jul 19, 2007 at 19:34:34 +0200, Luke wrote:
>> I get this warning:
>> /usr/local/lappstack-1.1/apache2/htdocs
>> Warning: chdir() [function.chdir]: No such file or directory (errno 2) in
>>
>> echo getcwd() . "\n";
>> chdir('c
""Instruct ICC"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> >From: "Luke" <[EMAIL PROTECTED]>
>>echo getcwd() . "\n";
>>chdir('c:\\temp');
>
>>echo getcwd() . "\n";
>>chdir('c:\\Przewozy\\BAZY');
>>echo getcwd() . "\n";
>>
>>$db = dbase_open("c:\\Przewozy\\BAZY\\Ceny.dbf", 0);
On Thu, Jul 19, 2007 at 19:34:34 +0200, Luke wrote:
> I get this warning:
> /usr/local/lappstack-1.1/apache2/htdocs
> Warning: chdir() [function.chdir]: No such file or directory (errno 2) in
>
> echo getcwd() . "\n";
> chdir('c:\\Przewozy\\BAZY');
> echo getcwd() . "\n";
You seem horribly conf
From: "Luke" <[EMAIL PROTECTED]>
echo getcwd() . "\n";
chdir('c:\\temp');
echo getcwd() . "\n";
chdir('c:\\Przewozy\\BAZY');
echo getcwd() . "\n";
$db = dbase_open("c:\\Przewozy\\BAZY\\Ceny.dbf", 0);
Just a quick guess/suggestion:
Single tick quotes ' are taken literally and double tick quot
> What errors are you getting? Check file permissions, maybe you can't
> read/write the file.
I get warning:
Warning: dbase_open() [function.dbase-open]: unable to open database
c:\temp\test.dbf in /usr/local/lappstack-1.1/apache2/htdocs/dbase.php on
line 8
In php.ini I have safe_mode=off. Eve
Luke wrote:
Hi.
I need open some dbase files. Function dbase_open work correctly only when I
open data base from server eg. dbase_open('/tmp/test.dbf', 0).
How Can I open this database from local host ?
What errors are you getting? Check file permissions, maybe you can't
read/write the file
Hi.
I need open some dbase files. Function dbase_open work correctly only when I
open data base from server eg. dbase_open('/tmp/test.dbf', 0).
How Can I open this database from local host ?
dbase_open('c:\tmp\test.dbf', 0) - not working
dbase_open('c:\\tmp\test.dbf', 0) - not working
dbase_open('c