// Security Check 1: Test the requested URL and, if it is outside the only public page, then ban the user if (empty($_SERVER['REQUEST_URI'])) require_once('hb-administrate/admin.php'); $operable = htmlspecialchars($_SERVER['REQUEST_URI'], ENT_QUOTES); if (strlen($operable) > 1) { if (strlen($operable) > 50) { require_once('hb-administrate/admin.php'); } elseif ((substr($operable, 0, 2) != '/?') && (substr($operable, 0, 20) != '/happy-birthday-v1/?')) { require_once('hb-administrate/admin.php'); } } // Security Check 2: Basic Secure Server Token require_once('./hb-administrate/cerberus.php'); if (!defined('HHBB414EuRUgKwkXarv74879948ySjVGMJg2jLC477628RU5E9Lc9bSKp0509UUpPzwZFXbdU294')) die('Guru meditation'); // Basic security check passed, so load the configuration file // Application information such as messages can be updated using this file require_once('./hb-config-and-read-me.php'); # TODO Rename form inputs in accordance with new upload files ?>


 
0%