View Single Post
Old 10-16-2007, 12:06 AM   #1 (permalink)
Sam Granger
The Acquainted
 
Join Date: Sep 2007
Posts: 126
Thanks: 4
Sam Granger is on a distinguished road
Default Do not allow direct access to php file.

Hey guys!

I have an index.php file with some includes. How do I allow index.php to include the files, but when you try and view the included files outside of index.php, you get an error?

Looking forward to suggestions on how to achieve this! :)
Sam Granger is offline  
Reply With Quote