천

최근게시물 속 시원히 정리해주세요.ㅠㅠ.

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

<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
<meta name="generator" content="Namo WebEditor v6.0">
</head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
<p><?=latest("basic1", "books", 5, 70)?></p>
</body>

</html>

이게 들어가는 소스가 맞나요?
홈페이지 index는 root에 있고
그누보드는 @폴더 안에있는데 어떻게 연결을 시켜야될까요?

|

댓글 3개

이왕이면 @폴더의 그누보드 내용도 root로 빼주시는게 나을듯 하고요,

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

<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
</head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
<p><?=latest("basic1", "books", 5, 70)?></p>
</body>

</html>

대충 수정했어요
저는 아이프레임으로 해서요.
@폴더안에있는걸 root폴더로 불러오고 싶거든요.
그럴떄는 어떻게 하면되는지 궁금해서 질문한겁니다.

빼지말고 하는 방법은 없을까요?
궁금합니다.
include_once("_common.php");

_common.php
파일 만들고

내부 경로
./@/~~
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
09-10-15 조회 1,718
09-10-15 조회 1,665
09-10-15 조회 1,125
09-10-15 조회 1,163
09-10-15 조회 1,325
09-10-15 조회 1,648
09-10-15 조회 1,109
09-10-15 조회 1,501
09-10-15 조회 1,940
09-10-15 조회 1,639
09-10-15 조회 1,224
09-10-15 조회 1,010
09-10-15 조회 1,067
09-10-15 조회 827
09-10-15 조회 1,047
09-10-14 조회 933
09-10-14 조회 2,291
09-10-14 조회 1,617
09-10-14 조회 1,641
09-10-14 조회 1,051