Page in subfolder cannot see database
Posted: Sat Aug 11, 2018 9:45 pm
All my login pages are in the same folder.
I have a test page in this folder which sees the database just fine by using this variable: $database = './usersdb.php';
When I move this test page to a sub folder and change the database path to: $database = '/../usersdb.php';
I get the dreadful "User database not found!".
How can I set the database path to see the database in folder above?
I have a test page in this folder which sees the database just fine by using this variable: $database = './usersdb.php';
When I move this test page to a sub folder and change the database path to: $database = '/../usersdb.php';
I get the dreadful "User database not found!".
How can I set the database path to see the database in folder above?