서브페이지 폴더 만들어서 넣는거 어떻게하나요ㅠ?

안녕하세염(__)

/index.php 파일은 잘 만들어서 아주 잘 작동 되는데영
/center/info.php  이렇게 'center'라는 폴더 만들어서 
'info.php'라는 파일로 서브페이지 하려구

'info.php' 맨 앞에

<?
include_once("./common.php");
include_once("$g4[path]/lib/latest.lib.php");

$g4['title'] = "";
include_once("./_head.php");
?>

이렇게 넣었는뎅 아래처럼 나오네영 서브페이지 만들때 폴더만들어서 안에 넣으려면 다른과정 별도루 해줘야하나영?ㅠ서브페이지 안에 'head.php'도 따로 만들어서 넣고 싶은 꿈이 있었어용
위대하신 님들 저도 도와주세영(__) 감사합니당

Warning: include_once(./common.php) [function.include-once]: failed to open stream: No such file or directory in C:\APM_Setup\htdocs\center\info.php on line 2

Warning: include_once() [function.include]: Failed opening './common.php' for inclusion (include_path='.') in C:\APM_Setup\htdocs\center\info.php on line 2

Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in C:\APM_Setup\htdocs\center\info.php on line 3

Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.') in C:\APM_Setup\htdocs\center\info.php on line 3

Warning: include_once(./_head.php) [function.include-once]: failed to open stream: No such file or directory in C:\APM_Setup\htdocs\center\info.php on line 6

Warning: include_once() [function.include]: Failed opening './_head.php' for inclusion (include_path='.') in C:\APM_Setup\htdocs\center\info.php on line 6

|

댓글 3개

<?
$g4_path = "."; // 그누보드 경로로 마추세요
include_once("$g4_path/common.php");
include_once("$g4[path]/head.php");
?>

그누보드 경로를 잘조정하셔야됩니다 ㅇㅅㅇ
와우 정말 캄사합니당(__) 아주 잘되네영
새해 복 많이받으세영(__)
<?
include_once("../common.php");
include_once("$g4[path]/lib/latest.lib.php");

$g4['title'] = "";
include_once("$g4[path]/_head.php");
?>
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
16년 전 조회 1,538
16년 전 조회 946
16년 전 조회 979
16년 전 조회 1,512
16년 전 조회 1,194
16년 전 조회 949
16년 전 조회 1,534
16년 전 조회 1,493
16년 전 조회 1,551
16년 전 조회 1,013
16년 전 조회 774
16년 전 조회 1,145
16년 전 조회 815
16년 전 조회 1,576
16년 전 조회 1,655
16년 전 조회 1,416
16년 전 조회 987
16년 전 조회 951
16년 전 조회 824
16년 전 조회 1,602
🐛 버그신고