외부로그인 해결이 안되서요ㅠㅠ 도와주세요...
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 :
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가 있구요.
도와주세요.... 최근게시물은 어제 했는데 외부로그인은 일주일째 해결을 못하고 있어요ㅠㅠㅠㅠㅠ
첨부파일
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 11개
<?
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");
?>
<?
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/outlogin.lib.php");
echo outlogin("sds");
?>
넣으면 되겠죠...
index1.php에서 저렇게 불로올것이 아니라, 게시판 설정에서 게시판 상단파일에 들어간 파일에서 불로와야 합니다.