i have a litte question..
i want to disable the direct access to my included files. (example header.tpl.php, footer.tpl.php, confic.inc.php, db-connect.inc.php ect.)
if (basename($_SERVER['SCRIPT_FILENAME']) == basename(__FILE__)) { //header("Location: index.php"); exit("NOT ALLOWED"); }