드림위버 인덱스 html 파일에 ㅠㅠ 최신글 설치!! ㅠ 정보
드림위버 인덱스 html 파일에 ㅠㅠ 최신글 설치!! ㅠ본문
일단 연습삼아서,,ㅠ 해보는데!! ㅠㅠ PHP는 몰라서 ㅠ 도통 모르겟네요
일단 ftp경로는
처음 폴더에
ch
gnuboard4
index.html
이렇게 잇습니다! ( 닷홈 ! 무료 호스팅이구요! )
드림위버로 인덱스 파일에
<?
include_once("./_common.php);
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><?=latest("basic",'aaa',5,20);?></td>
</tr>
</table>
</body>
</html>
다음과 같이 적은후에
여러가지 찾아 보니까 인덱스 파일과 같은 위치에
_common.php
이 파일을 같이 복사 해두라고 해서 복사해서
안에 내용을
<?
$g4_path = "."; // common.php 의 상대 경로
$g4_path = "./gnuboard4";
?>
다음과 같이 적은후에
ch
gnuboard4
index.html
_common.php
위와 같이 경로로 저장하고 ftp에 올리고나서 하니까.
Parse error: syntax error, unexpected T_VARIABLE in /host/home2/yudaehyun/html/index.html on line 3
다음과 같은 에러가 납니다 ㅠㅠ
어떻게 해야되는지 모르겠습니다. ㅠ
일단 ftp경로는
처음 폴더에
ch
gnuboard4
index.html
이렇게 잇습니다! ( 닷홈 ! 무료 호스팅이구요! )
드림위버로 인덱스 파일에
<?
include_once("./_common.php);
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><?=latest("basic",'aaa',5,20);?></td>
</tr>
</table>
</body>
</html>
다음과 같이 적은후에
여러가지 찾아 보니까 인덱스 파일과 같은 위치에
_common.php
이 파일을 같이 복사 해두라고 해서 복사해서
안에 내용을
<?
$g4_path = "."; // common.php 의 상대 경로
$g4_path = "./gnuboard4";
?>
다음과 같이 적은후에
ch
gnuboard4
index.html
_common.php
위와 같이 경로로 저장하고 ftp에 올리고나서 하니까.
Parse error: syntax error, unexpected T_VARIABLE in /host/home2/yudaehyun/html/index.html on line 3
다음과 같은 에러가 납니다 ㅠㅠ
어떻게 해야되는지 모르겠습니다. ㅠ
댓글 전체

<?
include_once("./_common.php);
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
선언이 되어있습니다.
<td><?=latest("basic",'aaa',5,20);?></td>
작동이 안된다면 commin.php경로가 잘못된게아닌가싶습니다만....
include_once("./_common.php);
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
선언이 되어있습니다.
<td><?=latest("basic",'aaa',5,20);?></td>
작동이 안된다면 commin.php경로가 잘못된게아닌가싶습니다만....