Bad Cookie."; echo ""; exit; } } if (isset($_GET['p']) && $_GET['p'] == "login") { if (strtolower($_POST['user']) != strtolower($username)) { echo "

Sorry, entry does not match."; echo ""; exit; } else if (strtolower($_POST['keypass']) != strtolower($password)) { echo "

Sorry, entry does not match."; echo ""; exit; } else if (strtolower($_POST['user']) == strtolower($username) && strtolower($_POST['keypass']) == strtolower($password)) { setcookie('TestlnlCookie', "lnl"); header("Location: $_SERVER[PHP_SELF]"); } else { echo "

Sorry, you could not be logged in at this time."; echo ""; } } ?>

Enter login details here: