초보 - 최신글 추출이 안되요 - www폴더안에 그누보드4 파일과 index.html이 같이 있음
서버에 www폴더안에 그누보드4와 index.html이 같이 있습니다.(사진참조)
index.html에 최신글 추출하고 싶은데요
---------------------------------------------------------
1) index.html 상단에 들어가는 문구
<?
$g4_path = "./gnuboard4";
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/head.sub.php");
?>
2) 바디에 게시판불러오는 문구
<?=latest("basic", "gp_mov", 2, 80);?>
------------------------------------------------------------
11) 2) 문구가 맞는지? 고수님들 부탁드립니다.
index.html에 최신글 추출하고 싶은데요
---------------------------------------------------------
1) index.html 상단에 들어가는 문구
<?
$g4_path = "./gnuboard4";
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/head.sub.php");
?>
2) 바디에 게시판불러오는 문구
<?=latest("basic", "gp_mov", 2, 80);?>
------------------------------------------------------------
11) 2) 문구가 맞는지? 고수님들 부탁드립니다.
첨부파일
|
댓글을 작성하시려면 로그인이 필요합니다.
댓글 4개
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<?=latest("basic", "gp_mov", 2, 80);?>
이렇게만 잇어도 추출됩니당
gnuboard4 빼세요.