그누5 아이프레임 페이지 회원 접속

그누5 아이프레임 페이지 회원 접속

QA

그누5 아이프레임 페이지 회원 접속

답변 2

본문

아이프레임 페이지에 회원만 접속할수 있도록 하는방법 없을까요?  (레벨2)

 

아래 소스식으로했는데 작동이 안되네요...   

 

http://swish.woweb.net/1.php 

아이프레임 페이지 소스 내용

 

 


<?
include_once("_common.php");
include_once("_head.php");
?>
<iframe src="http://swish.woweb.net/kim/1/frame.htm" width="796" height="900" scrolling="auto | yes | no" frameborder="1" align="left | center | right" name="사조영웅" ></iframe> 

<?
include_once("_tail.php");
?>
<?php if ($is_member) {  ?>
회원 전용
<?php } ?>

이 질문에 댓글 쓰기 :

답변 2


<?php
include_once("_common.php");
if(!$is_member) alert("회원 가입 후 이용 가능합니다.");
include_once("_head.php");
?>
<iframe src="http://swish.woweb.net/kim/1/frame.htm" width="796" height="900" scrolling="auto | yes | no" frameborder="1" align="left | center | right" name="사조영웅" ></iframe> 
<?php
include_once("_tail.php");
?>

<?
include_once("_common.php");
include_once("_head.php");
?>
<?php if ($is_member) {  ?>
<iframe src="http://swish.woweb.net/kim/1/frame.htm" width="796" height="900" scrolling="auto | yes | no" frameborder="1" align="left | center | right" name="사조영웅" ></iframe> 
    
<? } else { ?>
회원만 확인 가능합니다.
<? } ?>
 
답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 125,873
© SIRSOFT
현재 페이지 제일 처음으로