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

<?
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폴더로 불러오고 싶거든요.
그럴&#46468;는 어떻게 하면되는지 궁금해서 질문한겁니다.

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

_common.php
파일 만들고

내부 경로
./@/~~

댓글 작성

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

로그인하기
🐛 버그신고