폼메일 소슨데요...좀 봐주세요...head랑 tail을 불러오고 싶은데 안되요... 정보
폼메일 소슨데요...좀 봐주세요...head랑 tail을 불러오고 싶은데 안되요...본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 : http://www.durisink.com/formmail.php
<?
$g4_path = ".."; // 이곳의 설정은 아래쪽의 3) 부분을 참고
include_once("./_common.php");
$g4[title] = "";
include_once("$g4[path]/head.sub.php");
?>
<!-- 한글 필드명으로 인해 사용안함
<SCRIPT LANGUAGE="JavaScript">
<!--
function fo_move(len,fld1,fld2){
if(fld1.value.length == len){
fld2.focus();
}
}
</SCRIPT>
//-->
<div style="height:14px; line-height:1px; font-size:1px;"> </div>
<style type="text/css">
.write_head { height:30px; text-align:center; color:#8492A0; }
.field { border:1px solid #ccc; }
</style>
<script language="JavaScript">
<!--
/* 김선용 - 폼내용중에 라디오박스나 체크박스를 필수선택으로 할 경우 이 주석처리를 변경하여 사용하십시오.
function checkform(){
//var f = document.form;
var getobj = document.getElementsByTagName("input");
var chkfld = false;
for(var i=0; i<getobj.length; i++){
//if((getobj[i].type == "checkbox" || getobj[i].type == "radio") && getobj[i].checked == true){
if(getobj[i].type == "radio" && getobj[i].checked == true){
chkfld = true;
break;
}
}
if(chkfld == false){
alert("라디오박스 필수");
return false;
}
return true;
}
//-->
*/
</script>
<table width="100%" align=center cellpadding=0 cellspacing=0><tr><td>
<div style="border:1px solid #ddd; height:34px; background:url(/img/title_bg.gif) repeat-x;">
<div style="font-weight:bold; font-size:14px; margin:7px 0 0 10px;">:: 온라인 견적신청 ::</div>
</div>
<div style="height:3px; background:url(/img/title_shadow.gif) repeat-x; line-height:1px; font-size:1px;"></div>
<table width="100%" align=center cellpadding=0 cellspacing=0>
<tr>
<td>
<form name="fumail" method="post" action="./formmail_update.php" enctype="multipart/form-data">
<table width="100%" align=center cellpadding=10 cellspacing=1 bgcolor="CCCCCC">
<tr bgcolor="#FFFFFF">
<td width="80" align="center">성 명</td>
<td colspan="2">
<input class="field" type='text' name='성명' style="width:100;" required itemname="성명">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="80" align="center">이메일</td>
<td colspan="2">
<input class="field" type='text' name='email' style="width:155;" email required itemname="이메일"> 예 : *** 개인정보보호를 위한 이메일주소 노출방지 ***
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="80" align="center">연락처</td>
<td colspan="2">
<input class="field" type='text' name='연락처1' size='4' maxlength='4' required numeric itemname="연락처1"> -
<input class="field" type='text' name='연락처2' size='4' maxlength='4' required numeric itemname="연락처2"> -
<input class="field" type='text' name='연락처3' size='4' maxlength='4' required numeric itemname="연락처3">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="80" align="center">제 목</td>
<td colspan="2">
<input class="field" type='text' name='제목' style="width:100%;" required itemname="제목">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="80" align="center">문의내용</td>
<td colspan="2">
<TEXTAREA NAME="문의내용" ROWS="5" class="field" style="width:100%;" required itemname="문의내용"></TEXTAREA>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="80" align="center">첨부파일1</td>
<td colspan="2">
<input class="field" type=file style='width:90%;' name='file1'>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="80" align="center">첨부파일2</td>
<td colspan="2">
<input class="field" type=file style='width:90%;' name='file2'>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="5"><td>
</tr>
<tr>
<td align="center"><input type=image id="btn_submit" src="/img/send.gif" border=0> <a href="javascript: document.fumail.reset();"><img src="/img/cancel.gif" border=0></a>
</form>
</td>
</tr>
</table>
<?
include_once("$g4[path]/tail.sub.php");
?>
이게 소슨데요...
어디 잘못된데 라도 있나요?? 헤드와 테일이 불러와 지질 않아요...
답답하네요...
오류 주소 : http://www.durisink.com/formmail.php
<?
$g4_path = ".."; // 이곳의 설정은 아래쪽의 3) 부분을 참고
include_once("./_common.php");
$g4[title] = "";
include_once("$g4[path]/head.sub.php");
?>
<!-- 한글 필드명으로 인해 사용안함
<SCRIPT LANGUAGE="JavaScript">
<!--
function fo_move(len,fld1,fld2){
if(fld1.value.length == len){
fld2.focus();
}
}
</SCRIPT>
//-->
<div style="height:14px; line-height:1px; font-size:1px;"> </div>
<style type="text/css">
.write_head { height:30px; text-align:center; color:#8492A0; }
.field { border:1px solid #ccc; }
</style>
<script language="JavaScript">
<!--
/* 김선용 - 폼내용중에 라디오박스나 체크박스를 필수선택으로 할 경우 이 주석처리를 변경하여 사용하십시오.
function checkform(){
//var f = document.form;
var getobj = document.getElementsByTagName("input");
var chkfld = false;
for(var i=0; i<getobj.length; i++){
//if((getobj[i].type == "checkbox" || getobj[i].type == "radio") && getobj[i].checked == true){
if(getobj[i].type == "radio" && getobj[i].checked == true){
chkfld = true;
break;
}
}
if(chkfld == false){
alert("라디오박스 필수");
return false;
}
return true;
}
//-->
*/
</script>
<table width="100%" align=center cellpadding=0 cellspacing=0><tr><td>
<div style="border:1px solid #ddd; height:34px; background:url(/img/title_bg.gif) repeat-x;">
<div style="font-weight:bold; font-size:14px; margin:7px 0 0 10px;">:: 온라인 견적신청 ::</div>
</div>
<div style="height:3px; background:url(/img/title_shadow.gif) repeat-x; line-height:1px; font-size:1px;"></div>
<table width="100%" align=center cellpadding=0 cellspacing=0>
<tr>
<td>
<form name="fumail" method="post" action="./formmail_update.php" enctype="multipart/form-data">
<table width="100%" align=center cellpadding=10 cellspacing=1 bgcolor="CCCCCC">
<tr bgcolor="#FFFFFF">
<td width="80" align="center">성 명</td>
<td colspan="2">
<input class="field" type='text' name='성명' style="width:100;" required itemname="성명">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="80" align="center">이메일</td>
<td colspan="2">
<input class="field" type='text' name='email' style="width:155;" email required itemname="이메일"> 예 : *** 개인정보보호를 위한 이메일주소 노출방지 ***
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="80" align="center">연락처</td>
<td colspan="2">
<input class="field" type='text' name='연락처1' size='4' maxlength='4' required numeric itemname="연락처1"> -
<input class="field" type='text' name='연락처2' size='4' maxlength='4' required numeric itemname="연락처2"> -
<input class="field" type='text' name='연락처3' size='4' maxlength='4' required numeric itemname="연락처3">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="80" align="center">제 목</td>
<td colspan="2">
<input class="field" type='text' name='제목' style="width:100%;" required itemname="제목">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="80" align="center">문의내용</td>
<td colspan="2">
<TEXTAREA NAME="문의내용" ROWS="5" class="field" style="width:100%;" required itemname="문의내용"></TEXTAREA>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="80" align="center">첨부파일1</td>
<td colspan="2">
<input class="field" type=file style='width:90%;' name='file1'>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="80" align="center">첨부파일2</td>
<td colspan="2">
<input class="field" type=file style='width:90%;' name='file2'>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="5"><td>
</tr>
<tr>
<td align="center"><input type=image id="btn_submit" src="/img/send.gif" border=0> <a href="javascript: document.fumail.reset();"><img src="/img/cancel.gif" border=0></a>
</form>
</td>
</tr>
</table>
<?
include_once("$g4[path]/tail.sub.php");
?>
이게 소슨데요...
어디 잘못된데 라도 있나요?? 헤드와 테일이 불러와 지질 않아요...
답답하네요...
댓글 전체
head.sub.php, tail.sub.php와
head.php와 tail.php는 다른 파일입니다~~
head.php와 tail.php는 다른 파일입니다~~
그럼 head.php와 tail.php를 어떻게 삽입해야하나요?