lib.inc.php에서 메일타입체크하는 거에서
function mailer($fname, $fmail, $to, $subject, $content, $type=0, $file="", $charset="EUC-KR", $cc="", $bcc="") {
생략.......................
if ($type) {
$header .= "Content-Type: TEXT/HTML; $charset\n";
if ($type == 2)
$content = nl2br($content);// 원래것은 뒤의것이었음 nl2br($type)이 아니라 $content가 맞을것 같음;
} else {
---------------------------------------
안그러면 2자만 메일로 날라옴 ^ ^
function mailer($fname, $fmail, $to, $subject, $content, $type=0, $file="", $charset="EUC-KR", $cc="", $bcc="") {
생략.......................
if ($type) {
$header .= "Content-Type: TEXT/HTML; $charset\n";
if ($type == 2)
$content = nl2br($content);// 원래것은 뒤의것이었음 nl2br($type)이 아니라 $content가 맞을것 같음;
} else {
---------------------------------------
안그러면 2자만 메일로 날라옴 ^ ^
|
댓글을 작성하시려면 로그인이 필요합니다.
댓글 1개
수정하지 않아도 현재는 $type 은 2 라는 값이 들어가지 않아 오류는 발생하지 않을겁니다.
감사합니다.