<? session_start(); header ('Content-type: text/html; charset=utf-8'); session_unset(); login_log(); function login_log(){ date_default_timezone_set('Asia/Bangkok'); $hit="./login_log/online.txt"; $timenow=date("วันที่ d-m-Y : เวลา H:i:s"); $file=fopen("$hit","a"); fwrite($file, "ล๊อกอิน :: $timenow \r\n"); fclose($file); } echo "<script>alert('คุณได้ออกจากระบบเรียบร้อยแล้ว')</script>"; echo"<script>window.location='index.php';</script>"; ?>
<? session_start(); header ('Content-type: text/html; charset=utf-8'); session_unset(); login_log(); ?> <META content="text/html; charset=utf-8" http-equiv="Content-type"> <? function login_log(){ date_default_timezone_set('Asia/Bangkok'); $hit="./login_log/online.txt"; $timenow=date("วันที่ d-m-Y : เวลา H:i:s"); $file=fopen("$hit","a"); fwrite($file, "ล๊อกอิน :: $timenow \r\n"); fclose($file); } echo "<script>alert('คุณได้ออกจากระบบเรียบร้อยแล้ว')</script>"; echo"<script>window.location='index.php';</script>"; ?>
<?php $f=fopen("test.txt", "wb"); $text=utf8_encode("�a�!"); // adding header $text="\xEF\xBB\xBF".$text; fputs($f, $text); fclose($f); ?>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง