급해서 여기 올렸습니다..
포인트가 500뿐이라서..ㅠ.ㅠ
html(최상위)에 그누설치했서 홈피 만들고
다른 홈피가 필요해서
하위에 다른 폴더(gnu2) 만들어서
index파일과 images파일만 올린상태입니다..
그런데 여기서 index에 어떤 명령어와 gnu2폴더 않에 어떤 파일일을 넣어줘야
최근게시물과 갤러리 로그인이 출력되나요..
꼭 좀 답변 부탁해요..
html(최상위)에 그누설치했서 홈피 만들고
다른 홈피가 필요해서
하위에 다른 폴더(gnu2) 만들어서
index파일과 images파일만 올린상태입니다..
그런데 여기서 index에 어떤 명령어와 gnu2폴더 않에 어떤 파일일을 넣어줘야
최근게시물과 갤러리 로그인이 출력되나요..
꼭 좀 답변 부탁해요..
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 9개
탈디렉토리 관련으로 검색하시면 나올거예요 ~
html최상위에 설치되서 지금 잘 돌아가는 index파일입니다.
하위폴더를 한개 더 만들을때 index파일에 저렇게 넣으니깐..
에러가 나는데 어떻게 써야 인식되나요..php초보라 어렵네요...
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/latest.num.lib.php");
$g4['title'] = "";
include_once("./_head.php");
// 게시판 이름 구하기
// 오누리 빌더 1.3 포함
?>
<html>
<head>
원본그누가 여기에 있고
/html/gnu2/index.php
새로 만드는게 여기라면
./가 아니라 ../로 하셔야 합니다.
<?
include_once("../_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/latest.num.lib.php");
$g4['title'] = "";
include_once("../_head.php");
?>
아래와 같이 메시지 멀대 수정해야죠.? 꼭 좀 알려주세요..
----------------------------------------------------------
Warning: include_once(./common.php) [function.include-once]: failed to open stream: No such file or directory in /web/home/wgma/html/_common.php on line 3
Warning: include_once() [function.include]: Failed opening './common.php' for inclusion (include_path='.:/usr/share/pear') in /web/home/wgma/html/_common.php on line 3
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /web/home/wgma/html/bedethda/index.html on line 3
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/share/pear') in /web/home/wgma/html/bedethda/index.html on line 3
Warning: include_once(/lib/latest.num.lib.php) [function.include-once]: failed to open stream: No such file or directory in /web/home/wgma/html/bedethda/index.html on line 4
Warning: include_once() [function.include]: Failed opening '/lib/latest.num.lib.php' for inclusion (include_path='.:/usr/share/pear') in /web/home/wgma/html/bedethda/index.html on line 4
--------------------------------
_common.php
<?
$g4_path = ".."; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>
_head.php
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.php");
?>
이 파일 두개 만들어 놓으세요.
아직 않했는데..
이런 해결책이 나오길 계속 새로고침하면서 기달렸는데
너무 감사합니다..
복받을거예요..^^;
감사합니다.^^;