r

최근게시물 추출할때 같은 폴더가 아니면..

오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 :

html/gnuboard4

html/Com08/index.php

게시물을 추출 할 인덱스페이지 폴더하고 그누보드 폴더하고 경로가 다를때


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


여기서 상대경로는 어떻게 정해줘야 하나요?
|

댓글 1개

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

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기
🐛 버그신고