금

경로문제

www 루트에 part 폴더가 있고 그안에 high 이라는 폴더가 있고 그안에 index.php 가 있습니다.

www > part > high

index.php 에 최신글 이라던지 아래처럼 불러올경우 이미지가 다 깨지는데

경로가 위에 위에 일경우 어떻게 해야 하나요?

설명과 함께 아래 내용을 고쳐주시면 감사하겠습니다~~~~ (^^)(__)

<?
$g4_path = "../../";
include_once("$g4_path/common.php");
include_once("../../lib/latest.lib.php");
include_once("../../lib/popular.lib.php");
include_once("../../lib/gnuwiki.lib.php");

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

<?=latest("vip_new", "humor", 10, 40); // "스킨명", "게시판아이디", 출력라인수, 출력글자수?>

<?
include_once("../../tail.sub.php");
?>

댓글 3개

<?
$g4_path = "../..";
include_once("$g4_path/_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once('$g4[path]/lib/popular.lib.php");
include_once("$g4[path]/gnuwiki.lib.php");
$g4['title'] = "";
include_once("$g4[path]/head.sub.php");

=latest("vip_new", "humor", 10, 40);
include_once("$g4[path]/tail.sub.php");
?>

이렇게 해보세요,
안되는데용....
<?
$g4_path = "../..";
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once('$g4[path]/lib/popular.lib.php");
include_once("$g4[path]/gnuwiki.lib.php");
$g4['title'] = "";
include_once("$g4[path]/head.sub.php");

=latest("vip_new", "humor", 10, 40);
include_once("$g4[path]/tail.sub.php");
?>

이렇게 해도 안되나요?
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
09-10-04 조회 947
09-10-04 조회 867
09-10-03 조회 897
09-10-03 조회 1,179
09-10-03 조회 1,197
09-10-03 조회 1,988
09-10-03 조회 1,646
09-10-03 조회 1,075
09-10-03 조회 3,110
09-10-02 조회 1,067
09-10-02 조회 1,029
09-10-02 조회 1,901
09-10-02 조회 979
09-10-02 조회 889
09-10-02 조회 1,645
09-10-02 조회 1,084
09-10-02 조회 904
09-10-02 조회 1,066
09-10-02 조회 1,060
09-10-01 조회 1,069