¾È³çÇϼ¼¿ä..¹®¿µ¿ÏÀÔ´Ï´Ù. ±Ã±ÝÇÑÁ¡ÀÌ ÀÖ¾î¼ ±Û ³²±é´Ï´Ù. ¾Æ·¡¿Í °°Àº ¼Ò½º°¡ Àִµ¥¿ä.
function mailMember( &$to, $sub, &$msg, &$from, &$row ) { global $VARS;
if( !$sub ) { eregi("Subject: +([^\n\r]+)", $msg, $regs); $sub = $regs[1]; $msg = eregi_replace("Subject: +([^\n\r]+)[\r\n]+", '', $msg); }
$tpl[ADMIN] = $VARS[EM]; $tpl[TURL] = $VARS[IU] . "?id=$row[0]"; $tpl[IURL] = $VARS[PU] . "/image.php?id=$row[0]"; $tpl[LURL] = $VARS[PU] . "/accounts.php?login"; $tpl[USER] = $row[0]; $tpl[EMAIL] = $row[1]; $tpl[SURL] = $row[2]; $tpl[BURL] = $row[3]; $tpl[BHT] = $row[4] == 0 ? '' : $row[4]; $tpl[BWD] = $row[5] == 0 ? '' : $row[5]; $tpl[RURL] = $row[6]; $tpl[TITLE] = $row[7]; $tpl[SDES] = $row[8]; $tpl[PASS] = $row[13]; $tpl[FLD1] = $row[14]; $tpl[FLD2] = $row[15]; $tpl[FLD3] = $row[16];
#echo "To: $to From: $from Sub: $sub
" .vparseRet($msg, $tpl). "
";
mail($to, $sub, vparseRet($msg, $tpl), "From: $from"); }
¸ÞÀÏÀ» ¹ß¼ÛÇÏ´Â ·çƾÀΰŠ°°¾Æ¿è. ±×·±µ¥ ÀÌ´ë·Î ¸ÞÀÏÀ» ¹ß¼ÛÇϸé HTMLÇü½ÄÀÌ µÇÁö¾Ê°í, ±×³É ÅؽºÆ®·Î¸¸ º¸³»Áý´Ï´Ù. ÀÌ°ÍÀ» HTMLÇü½ÄÀ¸·Î º¸³¾·Á¸é ¾î¶»°Ô °íÄ¡¸é µÉ±î¿ä?
MIME-Version: 1.0 Content-Type: text/html; charset=euc-kr
À§¿Í °°Àº ÇصåŸÀÔÀ» ÁöÁ¤ÇØÁÖ¸é µÉ°Í °°Àºµ¥,... ¾îµð´Ù°¡ ¾î¶»°Ô ³Ö¾îÁà¾ß ÇÒ±î¿ä? ¼ö°íÇϼ¼¿ä.
|