Hi everyone. I'd like to know the BEST solution to secure includes files. For now my solution is this :
in the index file :
define('KEY','security');
include('s.php';
s.php :
if(KEY!='security') exit;
Hi everyone. I'd like to know the BEST solution to secure includes files. For now my solution is this :
in the index file :
define('KEY','security');
include('s.php';
s.php :
if(KEY!='security') exit;
order deny,allow
deny from all
allow from 127.0.0.1
put this .htaccess in the include files seems to be a neat solution..