if (!headers_sent()) { header('Location: login.php'); exit; } else { echo ""; exit; } ?>