묻고답하기

질물을 한번 오렸다가 수정하는 바람에 영 모양도 안좋고 해서

다시 질문드립니다.

제 계정에 제로보드는 깔려있는데 따로 php프로그램을 깔지는 않았구요

제 php구성 설명을 먼저 드립니다.

1단계 : write_form : 이건 가입서류이구요 내용을 입력받는게 목적입니다.

2단계 : write_process : 이건 위의 1단계에서 입력받은 내용을 이메일로 보내는 것입니다.

3단계 : write_ok : 가입서류 제출이 잘 되었다고 안내페이지입니다.

**************************************************************************************
**************************************************************************************
**************************************************************************************
write_form 소스입니다.
**************************************************************************************
**************************************************************************************
**************************************************************************************

<html>

<head>

<title>조합원가입양식</title>

<script language="JavaScript">
<!--

//설정한 날짜만큼 쿠키가 유지되게. expiredays가 1 이면 하루동안 유지
function setCookie(name, value, expiredays) {
var expire_date = new Date();
expire_date.setDate(expire_date.getDate() + expiredays );
document.cookie = name + "=" + escape( value ) + "; expires=" + expire_date.toGMTString() + "; path=/";
}
//쿠키 소멸 함수
function clearCookie(name) {
var expire_date = new Date();
//어제 날짜를 쿠키 소멸 날짜로 설정한다.
expire_date.setDate(expire_date.getDate() - 1)
document.cookie = name + "= " + "; expires=" + expire_date.toGMTString() + "; path=/"
}

//체크 상태에 따라 쿠키 생성과 소멸을 제어하는 함수
function controlCookie(elemnt) {
if (elemnt.checked) {
//체크 박스를 선택했을 경우 쿠키 생성 함수 호출
setCookie("op1","true", 1);
closewin();
}
else {
//체크 박스를 해제했을 경우 쿠키 소멸 함수 호출
clearCookie("op1")
}
return
}

// -->
</script>

</head>

<form name='myForm' method='post' action='write_process.php'>

    <table cellpadding="0" cellspacing="0" width="452">
        <tr>
            <td width="452" bgcolor="#006699" height="30" valign="middle" colspan="4" align="center">
                <p align="center"><b><font color="#FFFFCC">조 합 원 가 입 서</font></b></p>
            </td>
        </tr>
        <tr>
            <td width="452" height="5" bgcolor="white" colspan="4">
                <p><font size="1">    </font></p>
            </td>
        </tr>
        <tr>
            <td width="76" height="14" bgcolor="#006699">
                <p align="center"><font color="#FFFFCC"><span style="font-size:9pt;">성      명</span></font></p>
            </td>
            <td width="143" height="14">
                <p><b><span style="font-size:9pt;"> <input type='text' name='name' size="16"  maxlength=20></span></b></p>
            </td>
            <td width="83" height="14" bgcolor="#006699">
                <p align="center"><font color="#FFFFCC"><span style="font-size:9pt;">주민번호</span></font></p>
            </td>
            <td width="150" height="14">
                <p><b><span style="font-size:9pt;"> <input type='text' name='inhabitant' size="16"  maxlength=20></span></b></p>
            </td>
        </tr>
        <tr>
            <td width="76" bgcolor="#006699" height="15">
                <p align="center"><font color="#FFFFCC"><span style="font-size:9pt;">개인번호</span></font></p>
            </td>
            <td width="143" height="15">
                <p><b><span style="font-size:9pt;"> <input type='text' name='individual' size="16"  maxlength=20></span></b></p>
            </td>
            <td width="83" bgcolor="#006699" height="15">
                <p align="center"><font color="#FFFFCC"><span style="font-size:9pt;">근무부서</span></font></p>
            </td>
            <td width="150" height="15">
                <p><b><span style="font-size:9pt;"> <input type='text' name='service' size="16"  maxlength=20></span></b></p>
            </td>
        </tr>
        <tr>
            <td width="76" bgcolor="#006699" height="12">
                <p align="center"><font color="#FFFFCC"><span style="font-size:9pt;">입사년월일</span></font></p>
            </td>
            <td width="143" height="12">
                <p><b><span style="font-size:9pt;"> </span></b><span style="font-size:9pt;"><input type='text'+ '+ ' name='year' size="4"  maxlength=20>년<input type='text' name='month' size="2"  maxlength=20>월<input type='text' name='date' size="2"  maxlength=20>일</span></p>
            </td>
            <td width="83" bgcolor="#006699" height="12">
                <p align="center"><font color="#FFFFCC"><span style="font-size:9pt;">직급/직위</span></font></p>
            </td>
            <td width="150" height="12">
                <p><b><span style="font-size:9pt;"> <input type='text' name='order' size="16"  maxlength=20></span></b></p>
            </td>
        </tr>
        <tr>
            <td width="76" bgcolor="#006699" height="13">
                <p align="center"><font color="#FFFFCC"><span style="font-size:9pt;">미 취 업</span></font></p>
            </td>
            <td width="376" height="13" colspan="3">
                <p><b><span style="font-size:9pt;"> </span></b><span style="font-size:9pt;"><input type="radio" name="losing">
                실 업 자      <input type="radio" name="housewife">
                주 부      <input type="radio" name="student">
                학 생       <input type="radio" name="etc">
                기 타</span></p>
            </td>
        </tr>
        <tr>
            <td width="76" bgcolor="#006699" height="16">
                <p align="center"><font color="#FFFFCC"><span style="font-size:9pt;">소속본부<br>/지      부</span></font></p>
            </td>
            <td width="376" colspan="3" height="16">
                <p><span style="font-size:9pt;"> </span><b><span style="font-size:9pt;"><input type='text' name='sub' size="30"  maxlength=20></span></b></p>
            </td>
        </tr>
        <tr>
            <td width="76" bgcolor="#006699" height="81" rowspan="2">
                <p align="center"><font color="#FFFFCC"><span style="font-size:9pt;">주      소</span></font></p>
            </td>
            <td width="376" height="21" colspan="3">
                <p><span style="font-size:9pt;"> </span><b><span style="font-size:9pt;">직장</span></b><span style="font-size:9pt;"> </span><b><span style="font-size:9pt;"><input type='text' name='add-work' size="44"  maxlength=20></span></b><font color="#FFFFCC"><span style="font-size:9pt;"><br>
                        </span></font><span style="font-size:9pt;"> 전화번호</span><b><span style="font-size:9pt;"><input type='text' name='phone-work' size="18"  maxlength=20></span></b></p>
            </td>
        </tr>
        <tr>
            <td width="376" height="35" colspan="3">
                <p><span style="font-size:9pt;"> </span><b><span style="font-size:9pt;">자택</span></b><span style="font-size:9pt;"> </span><b><span style="font-size:9pt;"><input type='text' name='add-home' size="44"  maxlength=20></span></b><font color="#FFFFCC"><span style="font-size:9pt;"><br></span></font><b><span style="font-size:9pt;">
                       </span></b><span style="font-size:9pt;">전화번호</span><b><span style="font-size:9pt;"><input type='phone-home' name="phone-home" size="18"  maxlength=20></span></b></p>
            </td>
        </tr>
        <tr>
            <td width="76" bgcolor="#006699" height="13">
                <p align="center"><font color="#FFFFCC"><span style="font-size:9pt;">핸 드 폰</span></font></p>
            </td>
            <td width="143" height="13">
                <p><b><span style="font-size:9pt;"> <input type='text' name='mobile' size="16"  maxlength=20></span></b></p>
            </td>
            <td width="83" bgcolor="#006699" height="13">
                <p align="center"><font color="#FFFFCC"><span style="font-size:9pt;">이 메 일</span></font></p>
            </td>
            <td width="150" height="13">
                <p><b><span style="font-size:9pt;"> <input type='text' name='email' size="16"  maxlength=20></span></b></p>
            </td>
        </tr>
        <tr>
            <td width="76" bgcolor="#006699" height="85">
                <p align="center"><font color="#FFFFCC"><span style="font-size:9pt;">자기소개</span></font></p>
            </td>
            <td width="376" height="85" colspan="3">
                <p><b><span style="font-size:9pt;"> <textarea name="intro" rows="6" cols="49"></textarea></span></b></p>
            </td>
        </tr>
        <tr>
            <td width="452" colspan="4" bgcolor="#0099CC" height="48">                                        <p align="justify" style="padding:10px;"><font color="#FFFFCC"><span style="font-size:9pt;">본인은
                                        전국보건의료산업노동조합의 설립취지와
                                        목표를 적극 찬성하며</span></font><font color="#333333"><span style="font-size:9pt;"><br></span></font><font color="#FFFFCC"><span style="font-size:9pt;"> 규약을 준수하고,
                                        노동자의 인간다운 삶과 국민건강권 쟁취를
                                        위해 함께</span></font><font color="#333333"><span style="font-size:9pt;"><br></span></font><font color="#FFFFCC"><span style="font-size:9pt;"> 하고자 조합원으로 가입을 희망합니다.</span></font></p>
            </td>
        </tr>
        <tr>
            <td width="452" colspan="4" bgcolor="white" height="88">
                <p align="center"><font color="#FFFFCC"><span style="font-size:9pt;"> </span></font><font color="#333333"><span style="font-size:9pt;"><input type='text'
                 name='add-year' value="200" maxlength='4' size='4' style="background-color:white;">년  <input
                 type='text' name='add-month' maxlength='2' size='2' style="background-color:white;">월  <input
                 type='text' name="add-date" maxlength='2' size='2' style="background-color:white;">일<br></span><b><span style="font-size:9pt;">신청인</span></b><span style="font-size:9pt;"> : </span></font><span style="font-size:9pt;"><input type="text" name="add-name" maxlength="8" size="10">(날인
                    생략)</span><font color="#333333"><span style="font-size:9pt;"><br></span></font><span style="font-size:9pt;"><br></span><b><span style="font-size:9pt;"><input type='submit' name='신청'
                 value="신청하기" style="color:blue; background-color:rgb(248,220,168);"></span></b><span style="font-size:9pt;">       <input type='reset' name='+ '취소'
                 value="다시입력" style="color:blue; background-color:rgb(244,220,165);"><br></span></p>
            </td>
        </tr>
        <tr>
            <td width="452" colspan="4" bgcolor="#006699" height="37">                        <p align="center"><font size="2" color="#FFFFCC"><b>전국보건의료산업노동조합 청구성심병원지부</b>  귀중</font></p>
            </td>
        </tr>
        <tr>
            <td width="452" colspan="4" bgcolor="#006699" height="11">                        
                <p>
                <p align="center"><input type="checkbox" name="closeEvent" onClick="controlCookie(this)"><font color="#FFFFCC"><b><span style="font-size:9pt;">오늘 하루 이 창을 열지 않습니다!</span></b></font><font color="blue"> </font>             </td>
        </tr>
    </table>
</form>


</html>



**************************************************************************************
**************************************************************************************
**************************************************************************************
write_process 소스입니다.
에러나는 부분이 table시작하는 부분입니다. 세미콜론이나 따옴표가 들어갈 부분이 아닌거 같은데요
**************************************************************************************
**************************************************************************************
**************************************************************************************

<?
$contents="
<html>
<head>
<title>조합원가입양식</title>
<meta http-equiv='Content-Type' content='text/html; charset=euc-kr'+ '>
<style type='text/css'>
<!--
table {  font-family: 'Tahoma'; font-size: 9pt}
-->
</style>
</head>
<body bgcolor='#FFFFFF' text='#000000' leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'>
<br>

    <table cellpadding="0" cellspacing="0" width="462">

        <tr>
            <td width="462" bgcolor="#006699" height="39" colspan="4">
                <p align="center"><b><font color="#FFFFCC">조 합 원 가 입 서</font></b></p>
            </td>
        </tr>
        <tr>
            <td width="462" height="5" bgcolor="white" colspan="4">
                <p><font size="1">    </font></p>
            </td>
        </tr>


        <tr>
            <td width="76" height="25" bgcolor="#006699">
                <p align="center"><font size="2" color="#FFFFCC">성      명</font></p>
            </td>
            <td width="143" height="25">
                <p><font size="2"><b> <input type="text" name='name' size="16"  maxlength=20 value="$name"></b></font></p>
            </td>
            <td width="83" height="25" bgcolor="#006699">
                <p align="center"><font size="2" color="#FFFFCC">주민번호</font></p>
            </td>
            <td width="160" height="25">
                <p><font size="2"><b> <input type='text' name='inhabitant' size="16"  maxlength=20 value="$inhabitant"></b></font></p>
            </td>
        </tr>
        <tr>
            <td width="76" bgcolor="#006699" height="25">
                <p align="center"><font size="2" color="#FFFFCC">개인번호</font></p>
            </td>
            <td width="143" height="25">
                <p><font size="2"><b> <input type='text' name='individual' size="16"  maxlength=20 value="$individual"></b></font></p>
            </td>
            <td width="83" bgcolor="#006699" height="25">
                <p align="center"><font size="2" color="#FFFFCC">근무부서</font></p>
            </td>
            <td width="160" height="25">
                <p><font size="2"><b> <input type='text' name='service' size="16"  maxlength=20 value="$service"></b></font></p>
            </td>
        </tr>
        <tr>
            <td width="76" bgcolor="#006699" height="25">
                <p align="center"><font size="2" color="#FFFFCC">입사년월일</font></p>
            </td>
            <td width="143" height="25">
                <p><font size="2"><b> </b><input type='text' name='year' size="4"  maxlength=20 value="$year">년<input type='text' name='month' size="2"  maxlength=20 value="$month">월<input type='text' name='date' size="2"  maxlength=20 value="$date">일</font></p>
            </td>
            <td width="83" bgcolor="#006699" height="25">
                <p align="center"><font size="2" color="#FFFFCC">직급/직위</font></p>
            </td>
            <td width="160" height="25">
                <p><font size="2"><b> <input type='text' name='order' size="16"  maxlength=20 value="$order"></b></font></p>
            </td>
        </tr>
        <tr>
            <td width="76" bgcolor="#006699" height="25">
                <p align="center"><font size="2" color="#FFFFCC">미 취 업</font></p>
            </td>
            <td width="386" height="25" colspan="3">
                <p><font size="2"><b> </b><input type="radio" name="losing" value="$losing">
                실 업 자      <input type="radio" name="housewife" value="$housewife">
                주 부      <input type="radio" name="student" value="$student">
                학 생       <input type="radio" name="etc" value="$etc">
                기 타</font></p>
            </td>
        </tr>
        <tr>
            <td width="76" bgcolor="#006699">
                <p align="center"><font size="2" color="#FFFFCC">소속본부<br>/지      부</font></p>
            </td>
            <td width="386" colspan="3">
                <p><font size="2"> <b><input type='text' name='sub' size="30"  maxlength=20 value="$sub"></b></font></p>
            </td>
        </tr>
        <tr>
            <td width="76" bgcolor="#006699" height="50" rowspan="2">
                <p align="center"><font size="2" color="#FFFFCC">주      소</font></p>
            </td>
            <td width="386" height="25" colspan="3">
                <p><font size="2"> <b>직장</b> <b><input type='text' name='add-work' size="44"  maxlength=20 value="$add-work"></b></font><font size="2" color="#FFFFCC"><br>
                        </font><font size="2"> 전화번호<b><input type='text' name='phone-work' size="18"  maxlength=20 value="$phone-work"></b></font></p>
            </td>
        </tr>
        <tr>
            <td width="386" height="25" colspan="3">
                <p><font size="2"> <b>자택</b> <b><input type='text' name='add-home' size="44"  maxlength=20 value="$add-home"></b></font><font size="2" color="#FFFFCC"><br></font><font size="2"><b>
                       </b>전화번호<b><input type='phone-home' name="phone-home" size="18"  maxlength=20 value="$phone-home"></b></font></p>
            </td>
        </tr>
        <tr>
            <td width="76" bgcolor="#006699" height="25">
                <p align="center"><font size="2" color="#FFFFCC">핸 드 폰</font></p>
            </td>
            <td width="143" height="25">
                <p><font size="2"><b> <input type='text' name='mobile' size="16"  maxlength=20 value="$mobile"></b></font></p>
            </td>
            <td width="83" bgcolor="#006699" height="25">
                <p align="center"><font size="2" color="#FFFFCC">이 메 일</font></p>
            </td>
            <td width="160" height="25">
                <p><font size="2"><b> <input type='text' name='+ 'email' size="16"  maxlength=20 value="$email"></b></font></p>
            </td>
        </tr>
        <tr>
            <td width="76" bgcolor="#006699" height="115">
                <p align="center"><font size="2" color="#FFFFCC">자기소개</font></p>
            </td>
            <td width="386" height="115" colspan="3">
                <p><font size="2"><b> <textarea name="intro" rows="7" cols="49">$intro</textarea></b></font></p>
            </td>
        </tr>
        <tr>
            <td width="462" colspan="4" bgcolor="#0099CC" height="72">                                        <p align="justify" style="padding:10px;"><font color="#FFFFCC"><span style="font-size:10pt;">본인은
                                        전국보건의료산업노동조합의 설립취지와
                                        목표를 적극 찬성하며</span></font><font color="#333333"><span style="font-size:10pt;"><br></span></font><font color="#FFFFCC"><span style="font-size:10pt;"> 규약을 준수하고,
                                        노동자의 인간다운 삶과 국민건강권 쟁취를
                                        위해 함께</span></font><font color="#333333"><span style="font-size:10pt;"><br></span></font><font color="#FFFFCC"><span style="font-size:10pt;"> 하고자 조합원으로 가입을 희망합니다.</span></font></p>
            </td>
        </tr>
        <tr>
            <td width="462" colspan="4" bgcolor="white" height="100">
                <p align="center"><font size="2" color="#FFFFCC"> </font><font color="#333333"><input type='text'
                 name='add-year' value="$add-year" maxlength='+ '4' size='4' style="background-color:white;">년  <input
                 type='text' name='add-month' maxlength='2' size='2' style="background-color:white;" value="$add-month">월  <input
                 type='text' name="add-date" maxlength='2' size='2' style="background-color:white;" value="$add-date">일<br><b>신청인</b> : </font><input type="text" name="add-name" maxlength="8" size="10" value="$add-name"><font size="2">(날인
                    생략)</font><font color="#333333"><br></font><br></p>
            </td>
        </tr>
        <tr>
            <td width="462" colspan="4" bgcolor="#006699" height="35">                        <p align="center"><font size="2" color="#FFFFCC"><b>전국보건의료산업노동조합 청구성심대학교
                                            병원지부</b>  귀중</font></p>
            </td>
        </tr>
    </table>
</form>


</html>


";
mail("vinish78@hanmail.net","조합원가입서",$contents, $add_header);  
echo("<meta http-equiv='refresh' content='0; url=write_ok.php'>");
?>
<p> </p>


**************************************************************************************
**************************************************************************************
**************************************************************************************
write_ok 소스입니다.
**************************************************************************************
**************************************************************************************
**************************************************************************************

<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>가입신청되었습니다.</title>
<meta name="generator" content="Namo WebEditor v5.0">
</head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<p align="center"><span style="font-size:10pt;"><b>가입신청되었습니다.</b></span></p>
<p align="center"><span style="font-size:10pt;"> </span></p>
<p align="center"><span style="font-size:10pt;"> </span></p>
<p align="center"><span style="font-size:10pt;"><img src="http://chunggu/img/smile.jpg" width="80" height="80" border="0"></span></p>
</body>

</html>
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
이장열 아파치 configure 에러해결 좀 해주세요 [2] 2007.08.10
김용일 로그분석툴 Webalizer 또는 RRD에 대한 질문  
얌이 실례합니다. 플래쉬파일을 게시판 등에 올리는 방법좀... [1] 2007.08.10
PHASE 메일확인하는 프로그램은 없나요? [3] 2007.08.10
이민호 substring 에 관해서 질문이요.. [1] 2007.08.10
정문목 1024x768 에서 1152x864 로 변경했을때 홈페이지 깨지는것.. [4] 2007.08.10
박지애 포토샵이 설치가 안되네요..  
한승진 사용 권한이 없다는 말이.. [1] 2007.08.10
Jay 이런건 어떻게 해야하는 건지 모르겠네요.  
Luciper 2개의 홈피와 서로 다른 도메인이 있는데 어찌 연결을...  
미키 스캐너에 관한  
정의민 하위 메뉴 뜨게 하는 것... (ex.섬게이트) [1] 2007.08.10
바투 irc질문입니다!  
정용수 새창띄우는법... 을 잘 모르겠어요...^^;;  
에지 phpmyAdmin 질문 [1] 2007.08.10
김대일 이미지가 깨져서 나와요(경로는 이상없는데...) [1] 2007.08.10
찌~* 제로보드에서 코멘트 쓴사람만 글 내용 보이게 할수 있을까요 [2] 2007.08.10
김영서 저번에 글 올렸었는데요 다시한번.. [1] 2007.08.10
박재성 관리자 로그인이 안됩니다..  
이승준 db연결의 실패  
나규남 으음.. 홈페이지보면 메인같은데 게시판 같은게... 궁금해요[!] [2] 2007.08.10
김영서 PHP 로 노프레임 페이지 공부 하는데.. [3] 2007.08.10
skybin 링크관련스타일시트 질문이요! [1] 2007.08.10
마대윤 [질문]홈페이지 주소 간략히 하는법 질문 [5] 2007.08.10
배웅희 다시 질문드립니다. 에러가 나는데 무었이 틀린것인가요? [2] 2007.08.10
백철 트레이아이콘 제작과정 궁금증!!! [2] 2007.08.10
김영중 검색기능 스크립트에 관해...답변꼭!!!  
대전시민 메뉴를 만드는데요.  
(/ ''-'')/__ㅛ 플레쉬 한글판삭제,포토샵 한글 불능 질문, [2] 2007.08.10
박준호 플래쉬 cf를 동영상으로 바꾸는 방법 어케하는건가요? [2] 2007.08.10