묻고답하기

http://www.vitwin.com/form/mail.htm

폼메일을 위와같이 하나 받아서 올려봤는데요. 글을 쓰고 전송하고 나서도

계속 글이 남아있네요...전송과 동시에 이걸 다시 자동으로 초기화 할수는 없을까요?

방법을 좀 알려주세요...

아래는 php 코드 입니다.
------------------------------------------------------------------------------------
<?

$todaydate=date('Y-m-d');

if(!$revperson){
   echo "<script>
         alert('받는분의 메일주소를 입력하세요');
         history.go(-1);
         </script>";
         }

if(!$sendperson_email){
   echo "<script>
         alert('보내는분의 메일주소를 입력하세요');
         history.go(-1);
         </script>";
         }

if(!$subject){
   echo "<script>
         alert('제목을 입력하세요');
         history.go(-1);
         </script>";
         }

if(!$comment){
   echo "<script>
         alert('내용을 입력하세요');
         history.go(-1);
         </script>";
         }

$comment2=nl2br($comment);

$comment1 ="
날짜 :$todaydate
보내는사람 :$sendperson
받는사람 :$revperson
제목 :$subject
내용 :$comment2 ";

   $result=mail("$revperson", "$subject", "$comment1", "From:$sendperson <$sendperson_email>");

   if(!$result){
   echo "<script>
         alert('메일이 전송에 문제가 있습니다');
         history.go(-1);
         </script>";
   }else{
   echo "<script>
         alert('메일이 정상적으로 처리되었습니다');
         history.go(-1);
         </script>";
   }
?>
------------------------------------------------------------------------------------

아래는 html 코드 입니다.
------------------------------------------------------------------------------------
<HTML>
<HEAD>
<TITLE>지나의 폼메일</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<STYLE type="text/css">
<!--
BODY,td,SELECT,DIV,form,center {font-family: 돋움;color:#CC6699;font-size:9pt;line-height:14pt}
P,blockquote,td,br {font-family:돋움;font-size:9pt;line-height:14pt}
input {font-family: 돋움;color:#CC6699;font-size:9pt;line-height:13pt;font-size:9pt;background:#FFF7F7;border:#EFAFC0 1px solid;}
textarea {font-family:돋움;color:#CC6699;font-size:9pt;line-height:13pt;font-size:9pt;background:#FFF7F7;scrolling:no;border:#EFAFC0 1px solid;}
.ad{border:#EFAFC0 1px solid;}
.adf{background-color:#FFF7F7;border:#EFAFC0 1px solid;}
.input2 {font-family:Verdana,돋움,굴림;font-size:7pt;color:#CC6699;line-height:5pt;height:12pt;background:#F1BAC9;border-bottom: #CC6699 1px solid; border-left: #FFF7F7 1px solid; border-right: #CC6699 1px solid; border-top: #FFF7F7 1px solid;}
.korea {font-family:돋움,굴림,Verdana;font-size:8pt}

BODY {background-color: ; background-image: url('003_bg.jpg');
background-repeat: no-repeat; background-attachment:fixed; background-position: 15% 55%}

A:link {color:#CC6699;text-decoration:none;}
A:visited {color:#CC6699;text-decoration:none;}
A:active {color:#EFAFC0;text-decoration:none;}
A:hover {color:#EFAFC0;text-decoration:none;}

BODY
{scrollbar-face-color: #FFFFFF; scrollbar-shadow-color: #EFAFC0;
scrollbar-highlight-color: #EFAFC0; scrollbar-3dlight-color: #FFFFFF;
scrollbar-darkshadow-color: #FFFFFF; scrollbar-track-color: #FFFFFF;
scrollbar-arrow-color: #EFAFC0}
-->
</STYLE>
</HEAD>
<BODY bgcolor="white">
<DIV align="center">
      
  <TABLE BORDER="0" cellpadding="0" cellspacing="0" align="center" width="300">
    <tr>
            <td><font color="#FFFFFF"> </font><form name="FIELDFORM" method="post" action="mail.php" >
        <!-- 아래의 멜주소는 반드시 여러분의 것으로 바꾸세요.-->              
       <input type=hidden name="revperson" value="caliph@hanmail.net" maxlength="16" size="25" class="ad" onBlur=this.className='ad' onFocus=this.className='adf'>
        +++ 쥔장에게 메일 보내기 +++</td>
          </tr>
          <tr>
            
      <td height="23">
        <input type="text" name="sendperson" maxlength="16" size="16" class="ad" onBlur=this.className='ad' onFocus=this.className='adf' style="filter: Alpha(Opacity=65);">
        이름 </td>
          </tr>
          <tr>
            
      <td height="23">
        <input type="text" name="sendperson_email" maxlength="45" SIZE="22" CLASS="ad" onBlur=this.className='ad' onFocus=this.className='adf' style="filter: Alpha(Opacity=65);">
        멜주소</td>
          </tr>
          <tr>
            
      <td height="23">
        <input type="text" name="subject" value="안녕하세요...  ^^" maxlength="50" size="28" CLASS="ad" onBlur=this.className='ad' onFocus=this.className='adf' style="filter: Alpha(Opacity=65);">
        제목<b> </b>
        <input type="checkbox" name="ishtml" value="1">
        <font class="korea">html</font></td>
          </tr>
          <tr>
            
      <td height="153"> <font face="돋움, 굴림" size="2" color="#FFFFFF">
        <textarea name="comment" rows="10" cols="40" CLASS=ad onBlur=this.className='ad' onFocus=this.className='adf' style="filter: Alpha(Opacity=65);"></TEXTAREA>
              </font></td>
          </tr>
          <tr>
            <td align="right">
              <div align="center">
<input type="submit" name="메일보내기" value="Send Mail" class="input2">
                
          <input type="reset" name="Reset" value="Reset" class="input2">
                 </div>
            </td>
          </tr>
        </TABLE>
</DIV>
</FORM>
<div align="center"><font face="Verdana, Arial, Helvetica, sans-serif" size="1">----->
  skin by <a href="http://zina.zlcom.com" target="_blank">Zina</a> </font> </div>
</BODY>
</HTML>
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
김동하123 모듈을 복사해서 추가 설치하는 방법 [1] 2015.04.13 by sejin7940
똒똒 bgm을 외부 사이트에서 끌어오려고 합니다  
APAPAPAP 애드온을 제작하고 있는데 액션 부분에서 질문드리겠습니다. [3] 2015.04.12 by sejin7940
greengables 특정 글을 위로 끌어올리는 방법 여쭙고 싶습니다. [1] 2015.04.12 by sejin7940
도로테비 스케치북 스킨 중 해당 부분은 어디 수정하는지 아시는분? file  
반걸 도와주세요! 홈페이지 입력관해서  
플라이나 1.8 에서 새로 추가된 ckeditor 질문  
김동하123 xeicon 사용방법 어떻게 하죠? [3] 2015.04.12 by 김동하123
본히 doorweb의 top버튼은 어떻게 출력하는 것이지요?  
yunsel 회원가입시 기본 맴버 테이블과 다른테이블 같이 저장 하는방법  
반걸 비밀댓글 갯수 구하는법 [2] 2015.04.12 by 반걸
바람맨1222 구연가능여부좀;;  
아트뉴스 xe old version 사용중인데요...질문좀 ..답해주세요..  
몽실아빠 리눅스(우분투) 웹백업 용량 한계가 있나요 ? [23] 2015.04.12 by 몽실아빠
착한불곰이 제.로.보드 4 관련 검색질문드립니다.  
vivavox 메인 페이지 이미지 슬라이드의 이미지 바꾸는 방법을 알고 싶어요 [4] 2015.04.12 by vivavox
APAPAPAP 애드온을 제작하고 있는데 로그인 부분에서 질문있습니다. [1] 2015.04.12 by sejin7940
KaelXP 업데이트만하면 레이아웃이 초기레이아웃으로 되돌아갑니다. [2] 2015.04.12 by KaelXP
ttt22 특정 카테고리의 댓글을 위젯 노출 제한 [2] 2015.04.12 by ttt22
배달국 xe 1.7.7.1 설치 퍼미션 문제 [2] file 2015.04.12 by onze