제발 도와주세용... 최근게시물 출력... > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

제발 도와주세용... 최근게시물 출력... 정보

제발 도와주세용... 최근게시물 출력...

본문

<?
$g4_path = "/gnuboard4.utf8/gnuboard4";  //<--그누보드 설치 폴더명입니다.
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
?>


<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
<meta name="generator" content="Namo WebEditor(Trial)">
</head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" topmargin="0" leftmargin="0" rightmargin="0">
<table border="0" width="1026" height="184">
    <tr>
        <td width="1020" colspan="3"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="1020" height="350">
            <param name="movie" value="tedxmain.swf">
            <param name="play" value="true">
            <param name="loop" value="true">
            <param name="quality" value="high">
<embed width="1020" height="350" src="tedxmain.swf" play="true" loop="true" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></object></td>
    </tr>
    <tr>
        <td width="313">
         

<?=latest("enaksu", "notice", 5, 24)?> 


        </td>
        <td width="347">
            <p><a href="http://"><img src="/images/register.jpg" width="156" height="148" border="0"></a></p>
        </td>
        <td width="352" rowspan="2">트위터</td>
    </tr>
    <tr>
        <td width="313">
            <p>&nbsp;</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
            <p>&nbsp;</p>
        </td>
        <td width="347">&nbsp;</td>
    </tr>
    <tr>
        <td width="1020" colspan="3" bgcolor="#333333" height="114">&nbsp;</td>
    </tr>
</table>
<p>&nbsp;</p>
</body>

</html>




뭐가잘못된건가요................ㅠㅠㅠㅠㅠㅠㅠㅠㅠ
상단부분에 경로가 $g4_path = "/gnuboard4.utf8/gnuboard4";  이거 맞는지....
왜출력이안될까용....

댓글 전체

어째서 저렇게 기술되었는지는 모르겠으나,
$g4_path는 최상단에 안착시에 '그누보드가 깔린 상대경로를 씁니다'
$g4_path = "[현재 위치기준 상대경로로 그누보드 설치폴더 지정]";  //<--그누보드 설치 폴더명입니다
include_once("$g4_path/common.php");


[팁]
절대경로 : 어느 위치에 있든 상관없이 찾아갈 수 있는 경로
(예 - 어디에 있더라도 gnuboard4로 가려할때 : /gnuboard4.utf8/gnuboard4)
상대경로 : 내가 있는 위치기준으로 찾아갈 페이지 지정
(예1 - 내가 /images에 있을경우를 가정 : ../gnuboard4.utf8/gnuboard)
(예2 - 내가 그냥 홈디렉토리 루트에 있을경우를 가정 : ./gnuboard4.utf8/gnuboard)
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT