묻고답하기

http://www.bucheonnomusa.co.kr/error.JPG항목을 추가했는데 보내고 확인해 보면 이름, 이메일 주소, 제목밖에 표시 안되네요.

소스
스크린샷은 링크파일-


----------------------mail.php---------------------------

<html>
<head>
<title>메일 발송</title>
</head>
<body bgcolor="white" text="black" link="black" vlink="black" alink="black">
<form method='post' action='send.php'>

<table border="0" cellpadding="0" cellspacing="0" width="392" align="center">
<tr><td width="392">

                <p align="center"><span style="font-size:9pt;"><b><font color="black"><br>어쩌구<br><br></font></b></span></p></table>
<table border="0" cellpadding="0" cellspacing="0" width="392" align="center">
<td width="392">
                <p align="left"><span style="font-size:9pt;"><b><font color="black">성명</b></font>
                </td><td><input type="text" name="name" maxlength="10" size="10" style="color:black;">
</td>
</tr>
<tr>
<td width="392">
                <p align="left"><span style="font-size:9pt;"><b>발신자 이메일 주소</b></span>   </td><td><input type="text" name="frommail" maxlength="35" size="35" style="color:black;">
</td>
</tr>
<tr>
<td width="392">
                <p align="left"><span style="font-size:9pt;"><b>소속, 직위</b></span>   </td><td><input type="text" name="grade" maxlength="35" size="35" style="color:black;">
</td>
</tr>
<tr>
<td width="392">
                <p align="left"><span style="font-size:9pt;"><b>전화번호</b></span>   </td><td><input type="text" name="phone" maxlength="35" size="35" style="color:black;">
</td>
</tr>
<tr>
<td width="392">
                <p align="left"><span style="font-size:9pt;"><b>팩스번호</b></span>   </td><td><input type="text" name="fax" maxlength="35" size="35" style="color:black;">
</td>
</tr>
<tr>
<td width="392">
                <p align="left"><span style="font-size:9pt;"><b>주소</b></span>   </td><td><input type="text" name="where" maxlength="35" size="35" style="color:black;">
</td>
</tr>
<tr>
<td width="392">
                <p align="left"><span style="font-size:9pt;"><b><font color="black">수신자 이메일 주소</font></b></span>  
                 </td><td><input type="text" name="tomail" maxlength="35" size="35" style="color:black;" value="css3135@yahoo.co.kr" readonly>
</td>
</tr>
<tr>
<td width="392">
                <p align="left"><span style="font-size:9pt;"><b><font color="black">제목</font></b></span>  </td><td>
                <input type="text" name="subject" maxlength="35" size="35" style="color:black; "><br>
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="392" align="center">
<tr>
<td width="392">
                <p align="left"><textarea name="body" rows="8" cols="53" style="color:black;"></textarea><br><br>
              
</td>
</tr>
<tr>
<td width="392">
<center><input type="submit" value="메일보내기">  <input type="reset" value="  취  소  ">
                       </center>
</td>
</tr>
</table>
</form>
</body>
</html>


---------------------------send.php-------------------------
<?
function error($text){
echo "
<script language=javascript>
window.alert('$text')
history.go(-1)
</script>";
exit;
}

function msg($text){
echo "
<script language=javascript>
window.alert('$text')
</script>
<meta http-equiv='refresh' content='0;url=mail.php'>";
exit;
}


if (!$name) {error('성명을 적어주십시오.');}  // 이름이 없을때 에러 메세지
if(!ereg("@",$frommail)) {error('올바른 발신자 이메일 주소를 적어주십시오.');} // 보내는 메일주소나 @이 없으면 나오는 에러메세지
if (!$grade) {error('소속, 직위를 적어주십시오.');}
if (!$phone) {error('전화번호를 적어주십시오.');}
if (!$fax) {error('팩스번호를 적어주십시오.');}
if (!$where) {error('주소를 적어주십시오.');}
if(!ereg("@",$tomail)) {error('올바른 수신자 이메일 주소를 적어주십시오.');} // 받는 메일주소나 @이 없으면 나오는 에러메세지
if (!$subject) {error('제목을 적어주십시오.');} // 제목을 안적으면 나오는 에러 메세지.
if (!$body) {error('내용을 적어주십시오.');} // 내용을 안적으면 나오는 에러 메세지

$mailheaders .= "Return-Path: $frommail rn"; // 메일 헤더
$mailheaders .= "From: $name <$frommail>rn"; // 메일헤더, 이름과 email 주소가 나오게 함..

$result=mail($tomail , $subject , $body , $mailheaders); // 메일 함수

if($result){msg('메일이 성공적으로 발송되었습니다.');} // 성공하면 나오는 메제시
else{error('메일 발송에 실패하였습니다.');} // 편지가 전달되지 않으면 나오는 함수

?>

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
밀키 왜 스킨적용하면 이런오류가 뜰까요? [2] 2007.08.10
김현민 저기요... 이거좀 꼭봐주세요... [2] 2007.08.10
양동환 특정 페이지만 완전히 차단하고 싶은데요! [4] 2007.08.10
김경희 php 설치하려는데요... [1] 2007.08.10
박미희 죄표로 링크를 걸었는데요~ 하나가 잘 안되네요! [1] 2007.08.10
제로맨 잘되던 samba가 리눅스서버의 아이피대역이 바뀐이후로 안되는군요.  
김성민 [제로카운터] 제 서버가 윈도우2003 Server 구요./.php4.30 이 깔려 있거든요 ? ?  
유일한 아아.. 노프레임 질문입니다. ㅠㅠ 답답해 미치겠네요.. ㅠ [2] 2007.08.10
Xa 아파치로 자료 올릴때. 계정으로 올리는법점 가리켜 주세염..  
정옥 노프레임에서 첫 화면의 테이블 고정은? [2] 2007.08.10
천년지유 서명에 아이프레임 넣는 방법?? [4] 2007.08.10
쉿!비밀 페이지로딩직후 이전페이지로 돌아가는태그가?? [2] 2007.08.10
엔젤퀸 이미지 사이즈를 테이블에 맞게 조절하는 방법좀 알려주세요...  
n/a 드롭다운 메뉴??????? [6] 2007.08.10
로크 특정 시간부터 특정 시간까지.. [1] 2007.08.10
김형민 웹디자이너분들은 사이트 제작 어떤식으로 하시나요? [2] 2007.08.10
권세진 질문요... [1] 2007.08.10
샤위엔즈™ 도메인 주소 확 바꾸기 [3] 2007.08.10
poemen asf파일의 런타임을 어떻게 알 수 있나요?  
조미수 첨부화일을 올리수가 없습니다. [1] 2007.08.10
피로물든꽃 리눅스 아파치설정에질문좀 ㅜ_ㅜ [1] 2007.08.10
류충식 갑자기 인터넷에서 사진이 보이질 않는데 제로에서 무슨 설정이 필요한가요? 아님 패치인가요? [1] 2007.08.10
Asurada 제로보드 이미지 리사이징 관련 질문...  
나는나 text박스 값을 어떻게 읽죠? [4] 2007.08.10
용현지 홈페이지를 만들었는데요. [1] 2007.08.10
레어목도리 이미지 같은 건 어떻게 만들 수 있을까요? [1] 2007.08.10
장일권 linux AMP(RPM&컴파일) 삭제와 재설치 문의합니당~ [1] 2007.08.10
서대성 링크에 대해서.. [3] 2007.08.10
OnlyFriend™ 외부로그인 [1] 2007.08.10
김원효 텔넷 구축에 대하여 질문있어요[고수님들 부탁 ㅜㅜ] [1] 2007.08.10