05-19-2009, 06:23 PM
|
#1 (permalink)
|
|
The Contributor
Join Date: Sep 2008
Location: Miami
Posts: 39
Thanks: 7
|
Direct Access Help
I need to find out how to define, if the browser is on login.php so ( http://domain.com/login.php) If so then render and error ('no direct acess -> redirect(/); , but if login.php was fetched by jquery "lightbox" or a include('login.php'); I want it to show the login form.
Note: its complicated for me because I need it to figure out if its beeing fetched by the website cause anyone can do a include('http://domain.com/login.php'); and get it.
|
|
|