if know you a little bit of php you can do this
on you php file that calls the other files put
PHP Code:
define("localOnly",True);
then in all of you included files
PHP Code:
if(defined("localOnly") !== True){ echo "No direct access allowed"; exit(); }
So when you include file it will check to see if var localOnly is defined and if it is it will run and if it isn't then it will exit. That should help from external inclusion but i would suggest using a creative name than what I provided.
__________________
AMW_Drizz
Dev Machine:: Apache 2.2.6 PHP 5.2.6 MySQL 5.1
Last edited by amw_drizz; 01-20-2009 at 07:43 AM..
|