Incorrect passcode. Please try again.

'; } } // If the user is not authenticated, display the passcode form if (!isset($_SESSION['authenticated'])) { echo '

Enter Access Code

'; echo '
'; echo ''; echo ''; echo '
'; exit; // Stop further execution until the user is authenticated } } // If authenticated, continue with the original script /** * CodeIgniter * (The rest of your existing script continues here) */