| include "a_left_menu_04.html"; ?> |
 |
 |
 |
#####################################################################################################################
if (!$mode){
echo("
");
}
if($mode == 'send')
{
////////////////////////////////////////////////////////////////////////////////////////////////
$to_adminemail ="order@dinett.com,dinett2564@naver.com";
$subject="$name ²²¼ °³¹ß¿ë¿ª ¹®ÀǸ¦ Çϼ̽À´Ï´Ù.";
///////////////////////////////////////////////////////////////////////////////////////////////
$mailheaders .= "Return-Path: $c_email\r\n";
$mailheaders .= "Reply-To: $c_email\r\n";
$mailheaders .= "From: $name <$c_email>\nContent-Type:text/html;charset=euc-kr\r";
$p_contents = nl2br($p_contents);
$p_site = nl2br($p_site);
//////////////////////////////////////////////////////////////// ¸ÞÀÏ·Î Àü¼ÛµÇ¾î Áö´Â html ¼Ò½º
$main="
|
|
|
|
|
ȸ»ç¸í
|
$c_name
|
|
ºÎ¼¸í
|
$p_name
|
|
ÀüȹøÈ£
|
$c_tel
|
|
´ã´çÀÚ À̸§
|
$name
|
|
´ã´çÀÚ E-mail
|
$c_email
|
|
Fax
|
$fax
|
|
|
|
|
|
¿äû»çÇ× (¨ç°ßÀû ¿äû ÀÚ·á´Â À̸ÞÀÏ·Î ¼ÛºÎÇØ ÁÖ¼¼¿ä. dinett5527@gmail.com // order@dinett.com ¨è ºü¸¥»ó´ãÀº ÇÚµåÆù(010-3007-2564)À¸·Î ¿¬¶ôÁÖ¼¼¿ä. ¸íÇÔÀº ¹®ÀÚ·Î Àü¼Û, ¨é īī¿ÀÅå »ó´ã ID: dinett)
|
|
|
|
|
|
|
³» ¿ë
|
$p_contents
|
|
|
|
|
|
µð³Ý¶ß(ÁÖ) ¾Ë¾ØµðÆÄÆ®³Ê
|
|
|
";
/////////////////////////////////////////////////////////////////////////////////////////////////
if ($Pfile and $Pfile_size)
{
$Pfilename = basename($Pfile_name); //
$result = fopen($Pfile, "r"); //
$Pfile = fread($result,$Pfile_size); //
fclose($result);
if (!$Pfile_type) //
{
$Pfile_type = "application/octet-stream"; //
}
$boundary = uniqid("").".koreaphp";
$mailheaders .= "MIME-Version: 1.0\r\n";
$mailheaders .= "Content-Type: multipart/mixed; boundary=\"$boundary\"";
$text = "This is a multi-part message in MIME format.\r\n\r\n";
$text .= "--$boundary\r\n";
$text .= "Content-Type: text/html; charset=euc-kr\r\n";
$text .= "Content-Transfer-Encoding: 8bit\r\n\r\n";
$text .= $main. "\r\n\r\n";
$text .= "--$boundary\r\n";
$text .= "Content-Type: $Pfile_type; name=\"$Pfilename\"\r\n"; //
$text .= "Content-Transfer-Encoding: base64\r\n\r\n";
$text .= ereg_replace( "(.{80})", "\\1\r\n",base64_encode($Pfile)); //
mail($to_adminemail,$subject,$text,$mailheaders);
} else {
mail($to_adminemail,$subject,$main,$mailheaders);
}
/////////////////////////////////////////////////////////////////////////////////¿Ï·á ¸Þ½ÃÁö****
// echo"$to_adminemail ´Ô¿¡°Ô ¸ÞÀÏÀ» ¹ß¼ÛÇÏ¿´½À´Ï´Ù.";
echo ("
");
}
###############################################################################################################################
?> |
| |
|