> 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. Even if I wont simple change a directory
by:
echo getcwd() . "\n";
chdir('c:\\temp');
echo getcwd() . "\n";
I get this warning:
/usr/local/lappstack-1.1/apache2/htdocs
Warning: chdir() [function.chdir]: No such file or directory (errno 2) in
/usr/local/lappstack-1.1/apache2/htdocs/dbase.php on line 5
/usr/local/lappstack-1.1/apache2/htdocs
And how you see the directory does't change :(((((((((
Some propositin?
THANKS ALL :)
echo getcwd() . "\n";
chdir('c:\\Przewozy\\BAZY');
echo getcwd() . "\n";
$db = dbase_open("c:\\Przewozy\\BAZY\\Ceny.dbf", 0);
>
> --
> Postgresql & php tutorials
> http://www.designmagick.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php