드림위버 인덱스 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
다음과 같은 에러가 납니다 ㅠㅠ
어떻게 해야되는지 모르겠습니다. ㅠ
댓글 1개
몽키D팡야
13년 전
<?
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경로가 잘못된게아닌가싶습니다만....
게시판 목록
그누4 질문답변
그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.
기존 게시물은 열람만 가능합니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 66494 | 11년 전 | 7752 | ||
| 66493 |
|
11년 전 | 3004 | |
| 66492 |
alexseo
|
11년 전 | 3989 | |
| 66491 | 11년 전 | 3091 | ||
| 66490 | 11년 전 | 3439 | ||
| 66489 | 11년 전 | 5053 | ||
| 66488 | 11년 전 | 2312 | ||
| 66487 | 11년 전 | 3933 | ||
| 66486 | 11년 전 | 9922 | ||
| 66485 | 11년 전 | 3004 | ||
| 66484 | 11년 전 | 4444 | ||
| 66483 | 11년 전 | 2938 | ||
| 66482 |
jthree
|
11년 전 | 4102 | |
| 66481 | 11년 전 | 2559 | ||
| 66480 | 11년 전 | 2384 | ||
| 66479 | 11년 전 | 2910 | ||
| 66478 |
|
11년 전 | 3046 | |
| 66477 |
|
11년 전 | 3543 | |
| 66476 | 11년 전 | 2338 | ||
| 66475 |
JJins
|
11년 전 | 3626 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기