class Temp { public $temp; function replace($var, $content) { $this->temp = str_replace("#$var#", $content, $this->temp); } function publish() { eval("?>".$this->temp."<?"); } }
$temp->replace("abcd","OK");
class Temp { public $temp; public $varlue; function replace($var, $content) { $this->temp = str_replace("#$var#", $content, $this->temp); $this->varlue = $var; //รับค่า $var มากำหนด property } function publish() { eval("?>".$this->temp."<?"); } }
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง