Welcome Back, 1) { echo "Admin"; } else { echo "CRACKER"; session_destroy(); ob_start(); // It will return to homepage automatically // echo ""; ob_end_flush(); } ?>
Last Login:
alert('You are not allowed to enter this site, ".$_SESSION['role']." ".$_SESSION['last_name'].".');"; echo "window.location.href='logout.php';"; } ?>