경로 문제입니다... 정보
경로 문제입니다...본문
http://www.ninw.org/sub_ninw
위의 주소처럼 에러가 납니다..
인덱스 내용은...
<? if ($_SERVER["HTTP_HOST"] == "http://bongsadan.or.kr" || $_SERVER["HTTP_HOST"] == "http://www.bongsadan.or.kr") header("Location: http://www.bongsadan.or.kr/"); ?>
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
define("_INDEX_", TRUE);
$g4[title] = "◈두레자원봉사단◈";
include_once("$g4[path]/m_head.php");
?>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/main_04.jpg" width="342" height="62" border="0" usemap="#Map2"></td>
</tr>
<tr>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/main_06.jpg" width="38" height="111"></td>
<td><img src="images/main_07.jpg" width="269" height="111"></td>
<td><img src="images/main_08.jpg" width="35" height="111"></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="images/main_09.jpg" width="342" height="62" border="0" usemap="#Map3"></td>
</tr>
<tr>
<td><img src="images/main_10.jpg" width="342" height="84"></td>
</tr>
<tr>
<td><img src="images/main_11.jpg" width="342" height="75"></td>
</tr>
</table></td>
</tr>
</table>
<?
include "$g4[shop_path]/newwin.inc.php"; // 새창띄우기
include_once("$g4[path]/m_tail.php");
?>
이렇습니다...
홈페이지 안에 sub_ninw라는 폴더를 만들어서 index.php를 만들었는데...
위의 주소처럼 경로 에러가 납니다...
어떻게 해야하나요??
위의 주소처럼 에러가 납니다..
인덱스 내용은...
<? if ($_SERVER["HTTP_HOST"] == "http://bongsadan.or.kr" || $_SERVER["HTTP_HOST"] == "http://www.bongsadan.or.kr") header("Location: http://www.bongsadan.or.kr/"); ?>
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
define("_INDEX_", TRUE);
$g4[title] = "◈두레자원봉사단◈";
include_once("$g4[path]/m_head.php");
?>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/main_04.jpg" width="342" height="62" border="0" usemap="#Map2"></td>
</tr>
<tr>
<td><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="images/main_06.jpg" width="38" height="111"></td>
<td><img src="images/main_07.jpg" width="269" height="111"></td>
<td><img src="images/main_08.jpg" width="35" height="111"></td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="images/main_09.jpg" width="342" height="62" border="0" usemap="#Map3"></td>
</tr>
<tr>
<td><img src="images/main_10.jpg" width="342" height="84"></td>
</tr>
<tr>
<td><img src="images/main_11.jpg" width="342" height="75"></td>
</tr>
</table></td>
</tr>
</table>
<?
include "$g4[shop_path]/newwin.inc.php"; // 새창띄우기
include_once("$g4[path]/m_tail.php");
?>
이렇습니다...
홈페이지 안에 sub_ninw라는 폴더를 만들어서 index.php를 만들었는데...
위의 주소처럼 경로 에러가 납니다...
어떻게 해야하나요??
댓글 전체
sub_ninw 폴더에
_common.php 파일이 있지요?
만약 있다면 여서서
$g4_path = ".."; // common.php 의 상대 경로 이렇게 수정 해보세요
_common.php 파일이 있지요?
만약 있다면 여서서
$g4_path = ".."; // common.php 의 상대 경로 이렇게 수정 해보세요