<?php $conn=@mysql_connect("localhost","root","root"); $db=@mysql_select_db("db_member"); $sql="select * from b_member "; $query=@mysql_query($sql); while($rs=@mysql_fetch_array($query)) { $email=$rs["c_email"]; $emailfrom="[email protected]"; $emailsubject="หัวเรื่อง Email"; $to = $email; $subject = "=?utf-8?B?".base64_encode("$emailsubject")."?="; $header = "MIME-Version: 1.0\r\n"; $header .= "Content-type: text/plain; charset=utf-8\r\n"; $header .= "From: $emailfrom\r\n"; $header .= "Reply-To: [email protected]\r\n"; $header .= "X-Mailer: PHP/picoHosting"; $message = "ข้อความบรรทัดที่ 1\r\n"; $message = "ข้อความบรรทัดที่ 2\r\n"; $message = "ข้อความบรรทัดที่ 3\r\n"; mail($to, $subject, $messsage, $header); } ?>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง