초보 - 최신글 추출이 안되요 - www폴더안에 그누보드4 파일과 index.html이 같이 있음 정보
초보 - 최신글 추출이 안되요 - 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) 문구가 맞는지? 고수님들 부탁드립니다.
댓글 전체
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<?=latest("basic", "gp_mov", 2, 80);?>
이렇게만 잇어도 추출됩니당
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<?=latest("basic", "gp_mov", 2, 80);?>
이렇게만 잇어도 추출됩니당
$g4_path = "./";
gnuboard4 빼세요.
gnuboard4 빼세요.
$g4_path = "./gnuboard4"; 이거 필요없는것 같습니다.현재 루트안에 gnuboard4 속에 들어있는것이 아니니깐.
에이치님... ㄳ 카미님, 친구넷님 ㄳ 합니다...