외부로그인 해결이 안되서요ㅠㅠ 도와주세요... 정보
외부로그인 해결이 안되서요ㅠㅠ 도와주세요...본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 :
head1.php-------------------------------------------------------------------
<?
include_once("./_common.php");
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
echo outlogin("sds");
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
<meta name="generator" content="Namo WebEditor v6.0">
</head>
<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" bgcolor="#A24141">
<div align="left">
<table cellpadding="0" cellspacing="0" width="1200">
<tr>
<td width="342" rowspan="5" valign="bottom" height="1007" background="http://cfile233.uf.daum.net/original/-"><img src="http://cfile230.uf.daum.net/original/-" border="0"></td>
<td width="858" valign="top" height="485" background="http://cfile233.uf.daum.net/original/-" colspan="3"><img src="http://cfile229.uf.daum.net/original/-" border="0" usemap="#ImageMap1">
<map name="ImageMap1">
<area shape="rect" coords="17, 287, 293, 410" href="http://-.ivyro.net/gnuboard4/bbs/board.php?bo_table=main">
<area shape="rect" coords="22, 425, 59, 447" href="http://-.ivyro.net/gnuboard4/bbs/board.php?bo_table=data">
<area shape="rect" coords="99, 424, 138, 449" href="http://-.net/gnuboard4/bbs/board.php?bo_table=-">
<area shape="rect" coords="176, 423, 217, 449" href="http://-.ivyro.net/gnuboard4/bbs/board.php?bo_table=talk">
<area shape="rect" coords="251, 422, 300, 448" href="http://-.ivyro.net/gnuboard4/bbs/board.php?bo_table=link">
<area shape="rect" coords="338, 426, 377, 448" href="http://-.ivyro.net/gnuboard4/bbs/board.php?bo_table=help">
<area shape="rect" coords="416, 425, 463, 449" href="http://-.ivyro.net/gnuboard4/bbs/board.php?bo_table=-">
</map>
-------------------------------------------------------------------------------
index1.php---------------------------------------------------------
</td>
</tr>
<tr>
<td width="858" height="20" background="http://cfile233.uf.daum.net/original/-" colspan="3">
<p><?=outlogin("sds"); // 외부 로그인 ?>
</p>
</td>
</tr>
<tr>
<td width="858" height="217" background="http://cfile233.uf.daum.net/original/-" colspan="3">
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</td>
<?
include_once("./_tail1.php");
?>
--------------------------------------------------------------------------
tail1.php----------------------------------------------------------------------
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
</tr>
<tr>
<td width="286" height="217" background="http://cfile233.uf.daum.net/original/-">
<p align="left"><?=latest("egg01", "data", 6, 20);?></p>
</td>
<td width="286" height="217" background="http://cfile233.uf.daum.net/original/-">
<p align="left"><?=latest("egg01", "-", 6, 20);?></p>
</td>
<td width="286" height="217" background="http://cfile233.uf.daum.net/original/-">
<p align="left"><?=latest("egg01", "talk", 6, 20);?></p>
</td>
</tr>
<tr>
<td width="858" valign="bottom" height="94" background="http://cfile233.uf.daum.net/original/-" colspan="3"><img src="http://cfile217.uf.daum.net/original/-" border="0"></td>
</tr>
</table>
</div>
</body>
</html>
-------------------------------------------------------------------------
이렇게 해서 최근게시물은 올라갔거든요? 그런데 지금 외부로그인이
위에 있는 사진처럼 떠요. 저 네모박스 안으로 넣고 싶은데ㅠㅠㅠ
index1.php에 있는 로그인 대입을 지워도 위쪽에 뜨고, 안 지워도 위쪽에 뜨고.
그렇다고 head1.php에 있는 가장 상단 쪽에서 echo outlogin("sds");를 지우면 아예 저 위쪽에서
사라짐과 동시에 인덱스쪽에 로그인 대입이 있어도 안 떠요.
어떻게 해야하나요?ㅠㅠㅠㅠㅠㅠㅠㅠ
혹시 몰라서 _common.php도...
_common.php------------------------------------------------------
<?
$g4_path = "."; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>
-------------------------------------------------------------------
index.html은 public_html 안에 있구요, public_html 안에 gnuboard4가 있어요.
그리고 gunboard4 안에 head1.php index1.php tail1.php _common.php가 있구요.
도와주세요.... 최근게시물은 어제 했는데 외부로그인은 일주일째 해결을 못하고 있어요ㅠㅠㅠㅠㅠ
오류 주소 :
head1.php-------------------------------------------------------------------
<?
include_once("./_common.php");
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
echo outlogin("sds");
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
<meta name="generator" content="Namo WebEditor v6.0">
</head>
<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" bgcolor="#A24141">
<div align="left">
<table cellpadding="0" cellspacing="0" width="1200">
<tr>
<td width="342" rowspan="5" valign="bottom" height="1007" background="http://cfile233.uf.daum.net/original/-"><img src="http://cfile230.uf.daum.net/original/-" border="0"></td>
<td width="858" valign="top" height="485" background="http://cfile233.uf.daum.net/original/-" colspan="3"><img src="http://cfile229.uf.daum.net/original/-" border="0" usemap="#ImageMap1">
<map name="ImageMap1">
<area shape="rect" coords="17, 287, 293, 410" href="http://-.ivyro.net/gnuboard4/bbs/board.php?bo_table=main">
<area shape="rect" coords="22, 425, 59, 447" href="http://-.ivyro.net/gnuboard4/bbs/board.php?bo_table=data">
<area shape="rect" coords="99, 424, 138, 449" href="http://-.net/gnuboard4/bbs/board.php?bo_table=-">
<area shape="rect" coords="176, 423, 217, 449" href="http://-.ivyro.net/gnuboard4/bbs/board.php?bo_table=talk">
<area shape="rect" coords="251, 422, 300, 448" href="http://-.ivyro.net/gnuboard4/bbs/board.php?bo_table=link">
<area shape="rect" coords="338, 426, 377, 448" href="http://-.ivyro.net/gnuboard4/bbs/board.php?bo_table=help">
<area shape="rect" coords="416, 425, 463, 449" href="http://-.ivyro.net/gnuboard4/bbs/board.php?bo_table=-">
</map>
-------------------------------------------------------------------------------
index1.php---------------------------------------------------------
</td>
</tr>
<tr>
<td width="858" height="20" background="http://cfile233.uf.daum.net/original/-" colspan="3">
<p><?=outlogin("sds"); // 외부 로그인 ?>
</p>
</td>
</tr>
<tr>
<td width="858" height="217" background="http://cfile233.uf.daum.net/original/-" colspan="3">
<p> </p>
<p> </p>
<p> </p>
<p> </p>
</td>
<?
include_once("./_tail1.php");
?>
--------------------------------------------------------------------------
tail1.php----------------------------------------------------------------------
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
</tr>
<tr>
<td width="286" height="217" background="http://cfile233.uf.daum.net/original/-">
<p align="left"><?=latest("egg01", "data", 6, 20);?></p>
</td>
<td width="286" height="217" background="http://cfile233.uf.daum.net/original/-">
<p align="left"><?=latest("egg01", "-", 6, 20);?></p>
</td>
<td width="286" height="217" background="http://cfile233.uf.daum.net/original/-">
<p align="left"><?=latest("egg01", "talk", 6, 20);?></p>
</td>
</tr>
<tr>
<td width="858" valign="bottom" height="94" background="http://cfile233.uf.daum.net/original/-" colspan="3"><img src="http://cfile217.uf.daum.net/original/-" border="0"></td>
</tr>
</table>
</div>
</body>
</html>
-------------------------------------------------------------------------
이렇게 해서 최근게시물은 올라갔거든요? 그런데 지금 외부로그인이
위에 있는 사진처럼 떠요. 저 네모박스 안으로 넣고 싶은데ㅠㅠㅠ
index1.php에 있는 로그인 대입을 지워도 위쪽에 뜨고, 안 지워도 위쪽에 뜨고.
그렇다고 head1.php에 있는 가장 상단 쪽에서 echo outlogin("sds");를 지우면 아예 저 위쪽에서
사라짐과 동시에 인덱스쪽에 로그인 대입이 있어도 안 떠요.
어떻게 해야하나요?ㅠㅠㅠㅠㅠㅠㅠㅠ
혹시 몰라서 _common.php도...
_common.php------------------------------------------------------
<?
$g4_path = "."; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>
-------------------------------------------------------------------
index.html은 public_html 안에 있구요, public_html 안에 gnuboard4가 있어요.
그리고 gunboard4 안에 head1.php index1.php tail1.php _common.php가 있구요.
도와주세요.... 최근게시물은 어제 했는데 외부로그인은 일주일째 해결을 못하고 있어요ㅠㅠㅠㅠㅠ
댓글 전체
1. head1.php를 아래처럼 수정하시고요.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/lib/outlogin.lib.php");
?>
2. index1.php에 아래를 추가하세요.
<?
include_once("./_common.php");
include_once("$g4[path]/head1.php");
?>
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/lib/outlogin.lib.php");
?>
2. index1.php에 아래를 추가하세요.
<?
include_once("./_common.php");
include_once("$g4[path]/head1.php");
?>
왜 안될까요...ㅠㅠㅠ
그리고 tail1.php에서 아래 모두 필요없습니다.
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
include_once("$g4[path]/lib/latest.lib.php"); //이부분만 head1.php에서 인쿨드시키세요.
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
include_once("$g4[path]/lib/latest.lib.php"); //이부분만 head1.php에서 인쿨드시키세요.
헤드에 있는 외부로그인을 지워버리고 게시판 스킨을 수정하셔서
게시판 위쪽에 외부로그인이 뜨도록 바꿔보세요
게시판 위쪽에 외부로그인이 뜨도록 바꿔보세요
어떻게 바꿔야하는지 알려주시면 감사해요ㅠㅠㅠㅠㅠㅠㅠㅠㅠ 공지 게시판 list.skin.php에 뭘 넣어야하나요?ㅠㅠㅠ
list.skin.php 상단에
<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php");
echo outlogin("sds");
?>
넣으면 되겠죠...
<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php");
echo outlogin("sds");
?>
넣으면 되겠죠...
아,,,게시판에서 불러오는 게시판 상단파일을 올려보세요.
index1.php에서 저렇게 불로올것이 아니라, 게시판 설정에서 게시판 상단파일에 들어간 파일에서 불로와야 합니다.
index1.php에서 저렇게 불로올것이 아니라, 게시판 설정에서 게시판 상단파일에 들어간 파일에서 불로와야 합니다.
게시판에서 불러오는 상단파일이면 head1.php 아닌가요? 제가 head1.php, index1.php, tail1.php로 작업을 했는데요ㅠㅠ
과리자화면에서 게시판 설정에 들어가셔서, 게시판 상단 파일 경로에서 파일명을 확인해보십시요.
소스중에 <?=outlogin("sds"); // 외부 로그인 ?> 이 부분을 잘라내서 원하는 위치에 붙여넣으면 됩니다.
다들 너무 감사해요ㅠㅠㅠ 결국 안되서 게시판에 넣어봤더니 그제서야 되더라구요!ㅠㅠㅠㅠㅠㅠㅠㅠ 답변 달아주신 분들 모두 감사합니다...ㅠㅠ