회원메일 페이지 디자인하다가.. 궁금해서 여쭙습니다. 정보
회원메일 페이지 디자인하다가.. 궁금해서 여쭙습니다.본문
adm/mail_test.php (테스트용)
adm/mail_select_update.php (회원메일)
메일발송 페이지 디자인은 위의 두 페이지에서 이루어진다는걸 알게되었습니다..
그리고나서 어디를 고쳐야하나 뚫어지게 쳐다보면서
아래와 같은 무식한(?) 방법으로 만들고 있는중인데요. 정말 무식하죠...? ^-^;;
그리고나서 어디를 고쳐야하나 뚫어지게 쳐다보면서
아래와 같은 무식한(?) 방법으로 만들고 있는중인데요. 정말 무식하죠...? ^-^;;
$content = "<html><head><title>브라우져타이틀</title><meta http-equiv='Content-Type' content='text/html; charset=euc-kr'><link rel='stylesheet' href='http://www.xxxx.com/mail/mail.css' type='text/css'></head><body bgcolor='#ffffff'>";
$content = $content . $ma[ma_content];
$content = preg_replace("/{이름}/", $name, $content);
$content = preg_replace("/{별명}/", $nick, $content);
$content = preg_replace("/{회원아이디}/", $mb_id, $content);
$content = preg_replace("/{이메일}/", $email, $content);
$content = preg_replace("/{생일}/", (int)substr($birth,4,2).'월 '.(int)substr($birth,6,2).'일', $content);
$content = $content . $ma[ma_content];
$content = preg_replace("/{이름}/", $name, $content);
$content = preg_replace("/{별명}/", $nick, $content);
$content = preg_replace("/{회원아이디}/", $mb_id, $content);
$content = preg_replace("/{이메일}/", $email, $content);
$content = preg_replace("/{생일}/", (int)substr($birth,4,2).'월 '.(int)substr($birth,6,2).'일', $content);
$mb_md5 = md5($member[mb_id].$member[mb_email].$member[mb_datetime]);
$content = $content . "<hr size=0><p><span style='font-size:9pt; font-familye:굴림'>▶ 더 이상 정보 수신을 원치 않으시면 [<a href='$g4[url]/$g4[bbs]/email_stop.php?mb_id=$mb_id&mb_md5=$mb_md5' target='_blank'>수신거부</a>] 해 주십시오.</span></p>";
$content = $content . "</body></html>";
그런데 문제가 한가지 생겼습니다.........
$content = $content . "</body></html>";
그런데 문제가 한가지 생겼습니다.........
테스트 메일 html 소스보기를 해보니
코딩이 메모장 한줄에 끝도 없이 쫘악..... <html><head><title>브라우져타이틀</title><meta http-equiv='Content-Type' content='text/html; charset=euc-kr'>~~~~~~~~~~~~~
코딩이 메모장 한줄에 끝도 없이 쫘악..... <html><head><title>브라우져타이틀</title><meta http-equiv='Content-Type' content='text/html; charset=euc-kr'>~~~~~~~~~~~~~
헉!!
이건 아닌데....
아래와 같이 html 코딩을 내가 원하는 줄에서 줄바꾸기 하려면 어떻해야 할까요?
php에서 /n을 써서 줄바꾸기를 했던거 같은데... ㅜㅜ
조언 부탁드립니다...
<html>
<head>
<title>브라우져타이틀</title>
<meta http-equiv='Content-Type' content='text/html; charset=euc-kr'>
~~~~~~~~~~~~~
<meta http-equiv='Content-Type' content='text/html; charset=euc-kr'>
~~~~~~~~~~~~~
회원가입과 연동된 메일발송 디자인들은 일반 페이지(html) 작업하듯이 하면 되는데...
회원메일 발송페이지 쪽은 어려운거 같아요. ㅜㅜ
bbs/register_form_update_mail1.php // 회원가입축하 메일 (회원님께 발송)
bbs/register_form_update_mail2.php // 회원가입 메일 (관리자 메일로 발송)
bbs/register_form_update_mail3.php // E-mail 수정시 인증 메일 (회원님께 발송)
<?
// 회원가입축하 메일 (회원님께 발송)
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
bbs/register_form_update_mail2.php // 회원가입 메일 (관리자 메일로 발송)
bbs/register_form_update_mail3.php // E-mail 수정시 인증 메일 (회원님께 발송)
<?
// 회원가입축하 메일 (회원님께 발송)
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=<?=$g4[charset]?>">
<title>회원가입 축하 메일</title>
</head>
<style>
body, th, td, form, input, select, text, textarea, caption { font-size: 12px; font-family:굴림;}
.line {border: 1px solid #868F98;}
</style>
body, th, td, form, input, select, text, textarea, caption { font-size: 12px; font-family:굴림;}
.line {border: 1px solid #868F98;}
</style>
~~~~~~~~~~~~~~~~~~~~~
댓글 전체
한줄에 안하셔도 됩니다.
$content="내용
내용~~~~~~~~~
내용~~~~~~~~~~
내용~~~~~~~~~~~
";
위와 같이 해주셔되 됩니다만
"를 '로 바꿔주셔야 됩니다.
$content="내용
내용~~~~~~~~~
내용~~~~~~~~~~
내용~~~~~~~~~~~
";
위와 같이 해주셔되 됩니다만
"를 '로 바꿔주셔야 됩니다.
서기님, 감사합니다. ^^
'는 오류가 나구여.. "로 하니까 정상적으로 되는거 같습니다.
그래도 덕분에 문제를 해결할수 있어서 오늘 하루의 시작이 너무 즐겁습니다. ^^
좋은 하루 되세요.
'는 오류가 나구여.. "로 하니까 정상적으로 되는거 같습니다.
그래도 덕분에 문제를 해결할수 있어서 오늘 하루의 시작이 너무 즐겁습니다. ^^
좋은 하루 되세요.
재가 답변엘 헷갈리게 했네요 ^^
내용중에
" 이것이 들어가면 안된다는 말입니다.
내용중에
" 이것이 들어가면 안된다는 말입니다.
초보자 입니다
메세지가 전달 되지 않아 그누보드 홈피/빌더 홈피 웹사이트 검색 하였는데
아래 문제를 해결 하지 못하고 있습니다
------------- 문제 내용 -----------
email_certify_result.php를 아래와 같이 수정 했습니다
//include_once ("$g4[bbs_path]/register_form_update_mail3_0.php"); 귀사 배포 에러 발생
//include_once (../../bbs/register_form_update_mail3.php); 에러 발생
include_once ("$g4[bbs_path]/register_form_update_mail3.php");
-------------------------------------------------------------------------------------
include_once ("$g4[bbs_path]/register_form_update_mail3.php"); 로 수정시
아래와 같이 나옵니다 무엇이 문제인지 부탁 드립니다.
============ 아래 에 무엇이 문제인지 =================
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>인증 메일</title>
</head>
<style>
body, th, td, form, input, select, text, textarea, caption { font-size: 12px; font-family:굴림;}
.line {border: 1px solid #868F98;}
</style>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25" height="25"></td>
<td height="25"></td>
<td width="25" height="25"></td>
</tr>
<tr>
<td width="25" valign="top"></td>
<td align="center" class="line">
<br />
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="500" border="0" cellspacing="0" cellpadding="4">
<tr>
<td width="100%" height="25" bgcolor=#F7F1D8>인증 메일입니다.</td>
</tr>
</table>
<p>
<table width="500" border="0" align="center" cellpadding="4" cellspacing="0">
<tr><td height="150">
<b>wife</b> 님의 E-mail 주소가 변경되었습니다.
<p>아래의 주소를 클릭하시면 인증이 완료됩니다.
<p><a href='http://ss1145.iptime.org/web/bbs/email_certify.php?mb_id=ss7894&mb_md5=1bf96c6143dbaac73b06c0046c16f7e4'><b>http://ss1145.iptime.org/web/bbs/email_certify.php?mb_id=ss7894&mb_md5=1bf96c6143dbaac73b06c0046c16f7e4</b></a>
<p>회원님의 성원에 보답하고자 더욱 더 열심히 하겠습니다.
<p>감사합니다.
</td></tr>
</table>
<p>
<table width="500" border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed">
<tr>
<td height="2" bgcolor="#E0E0E0" align="center"></td>
</tr>
<tr>
<td height="25" bgcolor="#EDEDED" align="center">로그인 후 모든 정보를 이용하실 수 있습니다.[<a href="http://ss1145.iptime.org/web/bbs/login.php">바로가기</a>]</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
</td>
<td width="25" valign="top"></td>
</tr>
</table>
</body>
</html>
메세지가 전달 되지 않아 그누보드 홈피/빌더 홈피 웹사이트 검색 하였는데
아래 문제를 해결 하지 못하고 있습니다
------------- 문제 내용 -----------
email_certify_result.php를 아래와 같이 수정 했습니다
//include_once ("$g4[bbs_path]/register_form_update_mail3_0.php"); 귀사 배포 에러 발생
//include_once (../../bbs/register_form_update_mail3.php); 에러 발생
include_once ("$g4[bbs_path]/register_form_update_mail3.php");
-------------------------------------------------------------------------------------
include_once ("$g4[bbs_path]/register_form_update_mail3.php"); 로 수정시
아래와 같이 나옵니다 무엇이 문제인지 부탁 드립니다.
============ 아래 에 무엇이 문제인지 =================
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>인증 메일</title>
</head>
<style>
body, th, td, form, input, select, text, textarea, caption { font-size: 12px; font-family:굴림;}
.line {border: 1px solid #868F98;}
</style>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="600" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="25" height="25"></td>
<td height="25"></td>
<td width="25" height="25"></td>
</tr>
<tr>
<td width="25" valign="top"></td>
<td align="center" class="line">
<br />
<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="500" border="0" cellspacing="0" cellpadding="4">
<tr>
<td width="100%" height="25" bgcolor=#F7F1D8>인증 메일입니다.</td>
</tr>
</table>
<p>
<table width="500" border="0" align="center" cellpadding="4" cellspacing="0">
<tr><td height="150">
<b>wife</b> 님의 E-mail 주소가 변경되었습니다.
<p>아래의 주소를 클릭하시면 인증이 완료됩니다.
<p><a href='http://ss1145.iptime.org/web/bbs/email_certify.php?mb_id=ss7894&mb_md5=1bf96c6143dbaac73b06c0046c16f7e4'><b>http://ss1145.iptime.org/web/bbs/email_certify.php?mb_id=ss7894&mb_md5=1bf96c6143dbaac73b06c0046c16f7e4</b></a>
<p>회원님의 성원에 보답하고자 더욱 더 열심히 하겠습니다.
<p>감사합니다.
</td></tr>
</table>
<p>
<table width="500" border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed">
<tr>
<td height="2" bgcolor="#E0E0E0" align="center"></td>
</tr>
<tr>
<td height="25" bgcolor="#EDEDED" align="center">로그인 후 모든 정보를 이용하실 수 있습니다.[<a href="http://ss1145.iptime.org/web/bbs/login.php">바로가기</a>]</td>
</tr>
</table>
</td>
</tr>
</table>
<br />
</td>
<td width="25" valign="top"></td>
</tr>
</table>
</body>
</html>