05-19-2009, 07:39 PM
|
#2 (permalink)
|
|
The Acquainted
Join Date: Oct 2007
Posts: 170
Thanks: 18
|
You can define a variable on every page. Then check within the login.php file if the variable is defined before.
So on every page:
PHP Code:
define('ACCESS', TRUE);
Then on the login.php page:
PHP Code:
if (!defined('ACCESS')) { die('No direct access allowed!'); }
Good luck!
|
|
|
|