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?
Page in subfolder cannot see database
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/login_basics.html
http://www.wysiwygwebbuilder.com/login_tools.html
TIP:
A lot of information about the login tools can be found in the help/manual.
Also checkout the demo template that is include with the software.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/login_basics.html
http://www.wysiwygwebbuilder.com/login_tools.html
TIP:
A lot of information about the login tools can be found in the help/manual.
Also checkout the demo template that is include with the software.
Re: Page in subfolder cannot see database
I found the answer... database path should be without the first slash and show two dots.
$database = '../usersdb.php';
$database = '../usersdb.php';