| Server IP : 104.21.37.246 / Your IP : 104.23.243.32 [ Web Server : Apache System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64 User : cp648411 ( 1354) PHP Version : 7.2.34 Disable Function : NONE Domains : 0 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home2/cp648411/public_html/kainumber.com/member/ |
Upload File : |
<?php include('../include/class.php');?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php
$datetime = date("Y-m-d H:i:s");
///print_r($_POST);
include("../include/mail.php");
$to = '[email protected]';
$from = '[email protected]';
$sub = 'ยินดีต้อนรับ สมาชิกใหม่';
$msg = '
<table width="100%" border="0">
<tr>
<td align="right"><img src="../../image/text_logotop.png" width="200" class="img-responsive"></td>
</tr>
<tr>
</table><br>
<b>ยินดีต้อนรับ สมาชิกใหม่</b><br>'.'สวัสดี คุณ '.'<br>'.'ที่ได้ลงทะเบียนสมัครสมาชิกกับทาง '.'<a href="#">kainumber.com</a>';
//print_r($_POST);
$body = $msg.$contact;
//exit;
$mail->SetFrom($from, $from);
$mail->AddReplyTo($from, $from);
$mail->MsgHTML($body);
$mail->Subject = 'kainumber - เบอร์มงคล :: '.$sub;
$mail->AddAddress($to); // ผู้รับ
if(!$mail->Send())
{
//echo "<meta http-equiv=\"refresh\" content=\"0; url=../main/index.php?menu=7&&msg=2\">";
//echo "<br> Mailer Error: " . $mail->ErrorInfo;
unset($_SESSION['er']);
exit();
}
else
{
unset($_SESSION['er']);
}
?>