최근게시물 추출,,, 정보
최근게시물 추출,,,본문
Html에 사입한태그
<?
$g4_path="../gnuboard4";
include_once("../gnuboard4/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<?=latest("basic", "pds", 5, 70);?>
<html>
<head>
<meta name="GENERATOR" content="Namo WebEditor v6.0">
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
</head>
<body>
<p> </p>
</body>
</html>
이후 FTP: www/에 업로드해서 열어봤는데 아래와 같은 에러가나더라구요,,,
어느부분을 수정해야될지 몰라서올립니다~
Warning: include_once(../gnuboard4/common.php) [function.include-once]: failed to open stream: No such file or directory in /home2/concrete71/www/test1.htm on line 3
Warning: include_once() [function.include]: Failed opening '../gnuboard4/common.php' for inclusion (include_path='.:/usr/share/pear') in /home2/concrete71/www/test1.htm on line 3
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /home2/concrete71/www/test1.htm on line 4
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/share/pear') in /home2/concrete71/www/test1.htm on line 4
Fatal error: Call to undefined function latest() in /home2/concrete71/www/test1.htm on line 7
<?
$g4_path="../gnuboard4";
include_once("../gnuboard4/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<?=latest("basic", "pds", 5, 70);?>
<html>
<head>
<meta name="GENERATOR" content="Namo WebEditor v6.0">
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
</head>
<body>
<p> </p>
</body>
</html>
이후 FTP: www/에 업로드해서 열어봤는데 아래와 같은 에러가나더라구요,,,
어느부분을 수정해야될지 몰라서올립니다~
Warning: include_once(../gnuboard4/common.php) [function.include-once]: failed to open stream: No such file or directory in /home2/concrete71/www/test1.htm on line 3
Warning: include_once() [function.include]: Failed opening '../gnuboard4/common.php' for inclusion (include_path='.:/usr/share/pear') in /home2/concrete71/www/test1.htm on line 3
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /home2/concrete71/www/test1.htm on line 4
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/share/pear') in /home2/concrete71/www/test1.htm on line 4
Fatal error: Call to undefined function latest() in /home2/concrete71/www/test1.htm on line 7
댓글 전체
include_once("./gnuboard4/common.php");
그렇게하니까
Warning: include_once(./gnuboard4/common.php) [function.include-once]: failed to open stream: No such file or directory in /home2/concrete71/www/gnuboard4/test1.htm on line 3
Warning: include_once() [function.include]: Failed opening './gnuboard4/common.php' for inclusion (include_path='.:/usr/share/pear') in /home2/concrete71/www/gnuboard4/test1.htm on line 3
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /home2/concrete71/www/gnuboard4/test1.htm on line 4
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/share/pear') in /home2/concrete71/www/gnuboard4/test1.htm on line 4
Fatal error: Call to undefined function latest() in /home2/concrete71/www/gnuboard4/test1.htm on line 7
이렇게 나와요 ㅠ
Warning: include_once(./gnuboard4/common.php) [function.include-once]: failed to open stream: No such file or directory in /home2/concrete71/www/gnuboard4/test1.htm on line 3
Warning: include_once() [function.include]: Failed opening './gnuboard4/common.php' for inclusion (include_path='.:/usr/share/pear') in /home2/concrete71/www/gnuboard4/test1.htm on line 3
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /home2/concrete71/www/gnuboard4/test1.htm on line 4
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/share/pear') in /home2/concrete71/www/gnuboard4/test1.htm on line 4
Fatal error: Call to undefined function latest() in /home2/concrete71/www/gnuboard4/test1.htm on line 7
이렇게 나와요 ㅠ
include_once("./common.php");
나모에 이렇게 하니
<?
$g4_path="../gnuboard4";
include_once("./common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<?=latest("basic", "psd", 5, 70);?>
<html>
<head>
<meta name="GENERATOR" content="Namo WebEditor v6.0">
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
</head>
<body>
<p> </p>
</body>
</html>
----------------------------------------------------------------------------
Warning: include_once(./gnuboard4/common.php) [function.include-once]: failed to open stream: No such file or directory in /home2/concrete71/www/gnuboard4/test1.htm on line 3
Warning: include_once() [function.include]: Failed opening './gnuboard4/common.php' for inclusion (include_path='.:/usr/share/pear') in /home2/concrete71/www/gnuboard4/test1.htm on line 3
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /home2/concrete71/www/gnuboard4/test1.htm on line 4
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/share/pear') in /home2/concrete71/www/gnuboard4/test1.htm on line 4
Fatal error: Call to undefined function latest() in /home2/concrete71/www/gnuboard4/test1.htm on line 7
이렇게 나옵니다 ㅠㅠㅠ
<?
$g4_path="../gnuboard4";
include_once("./common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<?=latest("basic", "psd", 5, 70);?>
<html>
<head>
<meta name="GENERATOR" content="Namo WebEditor v6.0">
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>제목 없음</title>
</head>
<body>
<p> </p>
</body>
</html>
----------------------------------------------------------------------------
Warning: include_once(./gnuboard4/common.php) [function.include-once]: failed to open stream: No such file or directory in /home2/concrete71/www/gnuboard4/test1.htm on line 3
Warning: include_once() [function.include]: Failed opening './gnuboard4/common.php' for inclusion (include_path='.:/usr/share/pear') in /home2/concrete71/www/gnuboard4/test1.htm on line 3
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /home2/concrete71/www/gnuboard4/test1.htm on line 4
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/share/pear') in /home2/concrete71/www/gnuboard4/test1.htm on line 4
Fatal error: Call to undefined function latest() in /home2/concrete71/www/gnuboard4/test1.htm on line 7
이렇게 나옵니다 ㅠㅠㅠ
저도 잘은 모르는데 경로 문제가 확실합니다만..
$g4_path="./gnuboard4";
include_once("./common.php");
include_once("./common.php");
똑같아요 ㅠㅠ
지금 경로가 어떻게 되어있는지는 잘 모르겠지만.
아무것도 없는 ftp서버에 그누보드를 설치한 저는
<?
include_once("./common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
이렇게만 썻습니다.
아무것도 없는 ftp서버에 그누보드를 설치한 저는
<?
include_once("./common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
이렇게만 썻습니다.