2020-09-16 ログインユーザーのみ閲覧 php <?php if (!isset($_SESSION['USER'])) { header('Location: '.SITE_URL.'login.php'); exit; } $user = $_SESSION['USER'];