View Single Post
Old 05-19-2009, 06:23 PM   #1 (permalink)
tego10122
The Contributor
 
tego10122's Avatar
 
Join Date: Sep 2008
Location: Miami
Posts: 39
Thanks: 7
tego10122 is on a distinguished road
Default 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.
__________________
You're Everyday Graphic Artist
Twitter|GigPark|Linked In
Send a message via MSN to tego10122
tego10122 is offline  
Reply With Quote