hi,
I'm facing some problem on putting my php files above www directory.
eg.
www folder - index1.php
ABC folder - index2.php, login.php
I have a index1.php at www directory. This index1 file just point to index2 file which is located above the www directory at folder "ABC".
require_once("../abc/index2.php");
This works fine.
Now we go to the "ABC" folder which contain the other index2.php file.
This index2 file have a hyperlink to direct user to the login page.
<a href="login.php">Login</a>
I'm having problem here. How to direct the user to the login page? Pls advise, thanks.