Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($fail) {
- // $login_message = $loginmsg ['fail'];
- include "loginmall.php"; // Visa formulär
- if ( isset ($_SESSION['login'] ) ) {
- unset($_SESSION[$_LOGIN]);
- }
- echo "Du har skrivit in fel lösenord/användarnamn, försök igen!";
- }
- else {
- // Inloggnig lyckad!
- session_regenerate_id();
- $_SESSION['login'] = $_POST['username'];
- define('adminReferEditor', true);
- header("Location: ckeditorpage.php");
- exit;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement