I am developing a php application that needs to query an sqlite database which is not placed in the www folder. I am using the following code to connect.
$db = sqlite_open($path, 0666, $sqliteerror);
but there is some kind of error. My app is placed in httpdocs section. so how can i specify the path to my db?
$path='/srv/smartfox/Server/db/myDB.sqlite';