ÀÚ·á½ÇÀÇ ±ò²ûÇÑ Æû¸ÞÀÏÀÇ phpÀε¥
¸ÞÀÏÁÖ¼Ò¸¸ ¹Ù²Ù¸é µÇ´Â °É·Î ¾Ë°í Àִµ¥
¸ÞÀÏÀÌ ¾È¿Í¼¿ä.
Á¦°¡ Àß ¸ô¶ó¼±×·¯´Âµ¥ ¹º°¡ Ʋ¸°°Ô ÀÖ´ÂÁö ºÁÁÖ¼¼¿ä...
---------------------------------------------------------------------------------------------
<?
echo"
<style>
BODY,TD,SELECT,input,DIV,form,TEXTAREA,center,option,pre,blockquote {font-size:9pt; font-family:tahoma,verdana,アシクイ; color:grey}
</style>
<script>
function back()
{
history.go(-1);
}
</script>
<center>
";
if(!$name)
{
echo("<br><br><br><br><br><br><b>
<script>
document.write('No name...');
</script>
<form>
<input type=button value=' Back ' onclick='back()' style='cursor:hand; background-color:white; border:1 solid black;height:18'>
</form>
");
exit;
}
if(!$mail)
{
echo("<br><br><br><br><br><br><b>
<script>
document.write('No Mail@...');
</script>
<form>
<input type=button value=' Back ' onclick='back()' style='cursor:hand; background-color:white; border:1 solid black;height:18'>
</form>
");
exit;
}
if(!$subject)
{
echo("<br><br><br><br><br><br><b>
<script>
document.write('No subject...');
</script>
<form>
<input type=button value=' Back ' onclick='back()' style='cursor:hand; background-color:white; border:1 solid black;height:18'>
</form>
");
exit;
}
if(!$memo)
{
echo("<br><br><br><br><br><br><b>
<script>
document.write('No contents...');
</script>
<form>
<input type=button value=' Back ' onclick='back()' style='cursor:hand; background-color:white; border:1 solid black;height:18'>
</form>
");
exit;
}
$header = "Return-Path: $mail\n";
$header .= "From: $name <$mail>\n";
$header .= "Reply-to: $mail\n";
if($html) $header .= "Content-Type: text/html;"; else $header .= "Content-Type: text/plain;";
$header .= "charset=euc-kr\n";
if($html) $memo=nl2br($memo);
$memo = stripslashes($memo);
mail("manjuoka@nate.com",$subject,$memo,$header);
echo"<br><br><br><br><br><br><b><center>Sending......</center>
<meta http-equiv='refresh' content='3;url=mail.htm'>
";
?>