32){ $errors[]= 'Your Password is To Long'; } $login = login($username, $password); if ($login === false) { $errors[]= 'That Username/Password is incorrect'; } else { if(welcome($username) === false) { $_SESSION['user_id'] = $login; header('Location: welcome.php'); } else { $_SESSION['user_id'] = $login; header('Location: index.php'); } exit(); } } } ?> Hotels' Cloud | Login