auth_login_chk.php 408 B

123456789101112131415161718
  1. <?php
  2. if(empty($_SESSION['s_cd_dealerid']) && empty($_SESSION['s_nm_email'])){
  3. $url = "http://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"];
  4. ?>
  5. <html>
  6. <head>
  7. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  8. <script language="JavaScript">
  9. alert("본페이지는 로그인후 이용가능합니다.");
  10. location.replace("/index.php");
  11. </script>
  12. </head>
  13. </html>
  14. <?
  15. die();
  16. }
  17. ?>