묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
홈페이지만들기질문드릴게요.
2007.07.29 22:34
제가지금홈페이지작업을하고있는데요.
제로보드삽입에서 여러가지 에로사항이 있어서 질문드립니다.
구성은 다음과 같습니다.
index.php
[내용]
<? include head.php?>
<? include var.php ?>
<? include foot,php ?>
head,php
[내용]
<?
$_zb_url = "http://wewithyou.com/bbs/";
$_zb_path = "/home/pok9648/public_html/bbs/";
include $_zb_path."outlogin.php";
?>
<? include "/home/pok9648/public_html/bbs/zerocount/dbconn.php3";
include "/home/pok9648/public_html/bbs/zerocount/zerocounter.php3"; ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<title>wewithyou.com</title>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<script language="javascript" src="flashWrite2.js"></script>
<script language="javascript">flashWrite('main.swf','','')</script>
<table width="1024" height="120" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="120"></td>
<td width="784">
var.php
[내용]
<STYLE>
body,td,tr,table{font-size:9pt; font-family:굴림; color:#686868; line-height:130%;}
A:link {font-family:굴림; font-size:9pt; color:#3D3D3D; text-decoration:none;}
A:visited {font-family:굴림; font-size:9pt; color:#3D3D3D; text-decoration:none;}
A:active {font-family:굴림; font-size:9pt; color:#3D3D3D; text-decoration:none;}
A:hover {font-family:굴림; font-size:9pt; color:#F08B13; text-decoration:none;}
.coment {font-family:굴림; color:#F49AC1; font-size:9pt}
</STYLE>
<style type="text/css">
BODY
{background-color:#FFFFFF;
scrollbar-face-color:#F7F7F7;
scrollbar-shadow-color:#cccccc ;
scrollbar-highlight-color: #FFFFFF;
scrollbar-3dlight-color: #FFFFFF;
scrollbar-darkshadow-color: #FFFFFF;
scrollbar-track-color: #FFFFFF;
scrollbar-arrow-color: #cccccc}
.style1 {
color: #000000;
font-weight: bold;
font-family: Georgia, "Times New Roman", Times, serif;
}
</style>
<? if($id=='') { ?>
<? include "notice.php"; ?>
<? } ?>
<? if($id=='aboutwe') { ?>
<? include "aboutwe.php"; ?>
<? } ?>
<? if($id=='free') { ?>
<? include "freeboard.php"; ?>
<? } ?>
<? if($id=='special') { ?>
<? include "specialboard.php"; ?>
<? } ?>
<? if($id=='useful') { ?>
<? include "usefulboard.php"; ?>
<? } ?>
<? if($id=='play') { ?>
<? include "playboard.php"; ?>
<? } ?>
<? if($id=='photo') { ?>
<? include "photo.php"; ?>
<? } ?>
foot.php
[내용]
</td>
<td width="120"></td>
</tr>
</table>
<script language="javascript" src="flashWrite3.js"></script>
<script language="javascript">flashWrite('foot.swf','','')</script></td>
</body>
</html>
위와 같은데요.
보시다시피 위와 아래는 플래시를 적용시켜서 메뉴와 카운터를 제작하였는데 메뉴를 눌렀을때 var.php의 아이디가 변수가 되어 가운데 게시판을 불러오는 형태입니다.
제가
이곳에서
드리고 싶은 질문은...
아이프레임으로 불러오면 잘 되는데요!!!!
그냥 아이프레임으로 말고
길게 뽑아올려고
다음과 같이 적용했더니 에러가 생기네요
문제점이 무엇인지 궁금합니다.
예) freeboard.php를 불러와서 게시판을 여는데...
주소를 제대로 해도 다음과 같은 에러메시지가 뜹니다.
---------------------------------------------------
Warning: main() [function.main]: URL file-access is disabled in the server configuration in /home/pok9648/public_html/v2/freeboard.php on line 15
Warning: main(http://wewithyou.com/bbs/zboard.php?id=board) [function.main]: failed to open stream: no suitable wrapper could be found in /home/pok9648/public_html/v2/freeboard.php on line 15
Warning: main() [function.main]: URL file-access is disabled in the server configuration in /home/pok9648/public_html/v2/freeboard.php on line 15
Warning: main(http://wewithyou.com/bbs/zboard.php?id=board) [function.main]: failed to open stream: no suitable wrapper could be found in /home/pok9648/public_html/v2/freeboard.php on line 15
Warning: main() [function.include]: Failed opening 'http://wewithyou.com/bbs/zboard.php?id=board' for inclusion (include_path='.:/usr/share/php') in /home/pok9648/public_html/v2/freeboard.php on line 15
------------------------------------------------------------------------------------------
무엇이 나를 힘들게하는것일까요?
제로보드삽입에서 여러가지 에로사항이 있어서 질문드립니다.
구성은 다음과 같습니다.
index.php
[내용]
<? include head.php?>
<? include var.php ?>
<? include foot,php ?>
head,php
[내용]
<?
$_zb_url = "http://wewithyou.com/bbs/";
$_zb_path = "/home/pok9648/public_html/bbs/";
include $_zb_path."outlogin.php";
?>
<? include "/home/pok9648/public_html/bbs/zerocount/dbconn.php3";
include "/home/pok9648/public_html/bbs/zerocount/zerocounter.php3"; ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<title>wewithyou.com</title>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<script language="javascript" src="flashWrite2.js"></script>
<script language="javascript">flashWrite('main.swf','','')</script>
<table width="1024" height="120" cellpadding="0" cellspacing="0" border="0">
<tr>
<td width="120"></td>
<td width="784">
var.php
[내용]
<STYLE>
body,td,tr,table{font-size:9pt; font-family:굴림; color:#686868; line-height:130%;}
A:link {font-family:굴림; font-size:9pt; color:#3D3D3D; text-decoration:none;}
A:visited {font-family:굴림; font-size:9pt; color:#3D3D3D; text-decoration:none;}
A:active {font-family:굴림; font-size:9pt; color:#3D3D3D; text-decoration:none;}
A:hover {font-family:굴림; font-size:9pt; color:#F08B13; text-decoration:none;}
.coment {font-family:굴림; color:#F49AC1; font-size:9pt}
</STYLE>
<style type="text/css">
BODY
{background-color:#FFFFFF;
scrollbar-face-color:#F7F7F7;
scrollbar-shadow-color:#cccccc ;
scrollbar-highlight-color: #FFFFFF;
scrollbar-3dlight-color: #FFFFFF;
scrollbar-darkshadow-color: #FFFFFF;
scrollbar-track-color: #FFFFFF;
scrollbar-arrow-color: #cccccc}
.style1 {
color: #000000;
font-weight: bold;
font-family: Georgia, "Times New Roman", Times, serif;
}
</style>
<? if($id=='') { ?>
<? include "notice.php"; ?>
<? } ?>
<? if($id=='aboutwe') { ?>
<? include "aboutwe.php"; ?>
<? } ?>
<? if($id=='free') { ?>
<? include "freeboard.php"; ?>
<? } ?>
<? if($id=='special') { ?>
<? include "specialboard.php"; ?>
<? } ?>
<? if($id=='useful') { ?>
<? include "usefulboard.php"; ?>
<? } ?>
<? if($id=='play') { ?>
<? include "playboard.php"; ?>
<? } ?>
<? if($id=='photo') { ?>
<? include "photo.php"; ?>
<? } ?>
foot.php
[내용]
</td>
<td width="120"></td>
</tr>
</table>
<script language="javascript" src="flashWrite3.js"></script>
<script language="javascript">flashWrite('foot.swf','','')</script></td>
</body>
</html>
위와 같은데요.
보시다시피 위와 아래는 플래시를 적용시켜서 메뉴와 카운터를 제작하였는데 메뉴를 눌렀을때 var.php의 아이디가 변수가 되어 가운데 게시판을 불러오는 형태입니다.
제가
이곳에서
드리고 싶은 질문은...
아이프레임으로 불러오면 잘 되는데요!!!!
그냥 아이프레임으로 말고
길게 뽑아올려고
다음과 같이 적용했더니 에러가 생기네요
문제점이 무엇인지 궁금합니다.
예) freeboard.php를 불러와서 게시판을 여는데...
주소를 제대로 해도 다음과 같은 에러메시지가 뜹니다.
---------------------------------------------------
Warning: main() [function.main]: URL file-access is disabled in the server configuration in /home/pok9648/public_html/v2/freeboard.php on line 15
Warning: main(http://wewithyou.com/bbs/zboard.php?id=board) [function.main]: failed to open stream: no suitable wrapper could be found in /home/pok9648/public_html/v2/freeboard.php on line 15
Warning: main() [function.main]: URL file-access is disabled in the server configuration in /home/pok9648/public_html/v2/freeboard.php on line 15
Warning: main(http://wewithyou.com/bbs/zboard.php?id=board) [function.main]: failed to open stream: no suitable wrapper could be found in /home/pok9648/public_html/v2/freeboard.php on line 15
Warning: main() [function.include]: Failed opening 'http://wewithyou.com/bbs/zboard.php?id=board' for inclusion (include_path='.:/usr/share/php') in /home/pok9648/public_html/v2/freeboard.php on line 15
------------------------------------------------------------------------------------------
무엇이 나를 힘들게하는것일까요?
댓글 3
-
東問西答
2007.07.29 22:49
게시판은 include가 안됩니다. 구현하려는 형태는 최근게시물로 가능한 부분입니다. 스킨자료실에서 최근게시물로 검색해보세요. -
정말재수없어
2007.07.29 23:04
그러니깐...제말은 일반게시판을 위와 같은 형태의 것에서 어떻게 하면 아이프레임을 쓰지 않고 넣을수 있느냐는 이야기인데...
최근게시물에 대해서 물어본것이...
아니오라... -
東問西答
2007.07.29 23:12
안되는것으로 알고 있습니다.