테스트 사이트 - 개발 중인 베타 버전입니다

외부로그인 좀 도와주세요 채택완료

운명개척 3년 전 조회 1,426

test.html 파일 을 만들어서

<?

$g5_path="./gnuboard5";

include_once("./gnuboard5/common.php");

include_once("./gnuboard5/head.sub.php");

include_once("./gnuboard5/lib/outlogin.lib.php");

echo outlogin("basic");

?>

 

위 소스로 저장하고

index.html 파일을 만들어서

 

<iframe src="홈피명.,cafe24.comhttp://twolivetree1.hubweb.net/test.html" rel="nofollow noreferrer noopener" target="_blank">/test.html" frameborder="0" width="245" height="100" scrolling="yes"></iframe> 으로 저장했는데요

 

그렇게 하니까 실행하면 잘 되는데

 

로그인한후 관리자페이지 들어갈때나 정보수정할때 화면이 iframe안으로 들어갑니다.

 

검색을 해보니

총 3가지 방법이 있던데...

 

 

방법1 ) test의 내용을 그냥 index에 넣으시면 됩니다.

방법2 ) basic outlogin 스킨의 링크에 target="_top" 을 주시거나 

방법3 ) include_once(http://twolivetree1.hubweb.net/test.html" rel="nofollow noreferrer noopener" target="_blank">"홈피명.cafe24.com/https://sir.kr/qa/'http%3A//twolivetree1.hubweb.net/test.html" rel="noreferrer noopener" target="_blank">/test.html");

 

이렇게 3가지가 있는데..왕초보라서 방법1을 썼더니

 

외부로그인 화면이 세로가 아닌 가로로 나오네요 저는 세로를 원하거든요..

 

방법2의 basic outlogin 스킨의 링크에 target="_top" 을 넣어주란 말이 어디인지 모르겠구요..

 

방법3은 저 소스를 어떻게 넣어야 할지 모르겠어요 php를 전혀 몰라서요..

 

혹시나해서 

 

<?php 

include_once(http://twolivetree1.hubweb.net/test.html" rel="nofollow noreferrer noopener" target="_blank">"홈피명.cafe24.com/https://sir.kr/qa/'http%3A//twolivetree1.hubweb.net/test.html" rel="noreferrer noopener" target="_blank">/test.html");

?>

 

이렇게 만들어서 index.html 파일로 저장도 해봤는데 안되네요 ..

 

index.php로 저장해야하나요?

 

index.php로 저장하고 index.html을 지워서 홈피에 접속하니 되지않네용

 

셋중 하나라도 알려주시면 감사드리겠습니다.^^

댓글을 작성하려면 로그인이 필요합니다.

답변 1개

채택된 답변
+20 포인트

외부로그인이 다른 사이트 말한건가요?

로그인 후 평가할 수 있습니다

답변에 대한 댓글 2개

운명개척
3년 전
로그인 화면 나오는거요..
그게 외부로그인 아닌건가요?..;;ㅠㅠ....
릴보이즈
3년 전
아.. 초보자들이 다른의도로 생각할까봐요~ 외부 다른사이트랑 연결 하는줄알고 소스코드보니까요

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인