<?php include("config.php"); $dir = "files"; $opendir =opendir($dir); while ($file = readdir($opendir)) { if($file != '..' && $file !='.' && $file !=''){ if (!is_dir($file)){ unlink($dir . "/" . $file); } closedir($opendir); clearstatcache(); } } ?>
<?php //path where to store images $dir = "files/"; //check if folders are Writable or not //please CHOMD them 777 if (!is_writeable($dir)){ die ("Error: The directory <b>($dir)</b> is NOT writable"); } ?>
<?php $dir = "../PhotoUpload/files"; $opendir =opendir($dir); while ($file = readdir($opendir)) { if($file != '..' && $file !='.' && $file !=''){ if (!is_dir($file)){ unlink($dir . "/" . $file); } closedir($opendir); clearstatcache(); } } ?>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง