슈

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

안녕하세염(__)

/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 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
10-01-09 조회 1,653
10-01-09 조회 1,060
10-01-09 조회 1,062
10-01-09 조회 1,597
10-01-09 조회 1,287
10-01-09 조회 1,043
10-01-09 조회 1,628
10-01-09 조회 1,579
10-01-09 조회 1,644
10-01-09 조회 1,101
10-01-09 조회 860
10-01-09 조회 1,230
10-01-09 조회 901
10-01-09 조회 1,663
10-01-09 조회 1,756
10-01-09 조회 1,504
10-01-09 조회 1,074
10-01-09 조회 1,049
10-01-09 조회 927
10-01-08 조회 1,701