if (is_logged_in()) { readfile($songfile); } else { die("โทษนะ แอดมินขี้เหนียวจ้ะ"); }
<?php // Start the session session_start(); require_once ('connect.php'); ?> <?PHP require_once ('connect.php'); if(isset($_GET["chec"]) and $_GET["chec"] =='1'){ $sql = "SELECT * FROM mamber Where user='".$_POST["user"]."' and pass='".$_POST["pass"]."' "; $result = $conn->query($sql); if ($result->num_rows > 0) { // output data of each row $row = $result->fetch_assoc(); $_SESSION["user_session"] = $row["user"]; //ถ้าไม่มีค่ายูสให้แสดงข้อความ if ($_SESSION["user_session"] ==''){ echo "โทษนะ แอดมินขี้เหนียวจ้ะ"; } } } ?>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง