<? if(!$send){ ?> <form id="form1" name="form1" method="post" action="<? $PHP_SELF; ?>" > <p> <label> <input name="user" type="text" id="user" maxlength="10" /> </label> </p> <p> <input type="submit" name="send" id="send" value="Submit" /> </p> </form> <? }else{ echo $user; } ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <? if(!$_POST['send']){ ?> <form id="form1" name="form1" method="post" action="<? $_SERVER['PHP_SELF']; ?>" > <p> <label> <input name="user" type="text" id="user" maxlength="10" /> </label> </p> <p> <input type="submit" name="send" id="send" value="Submit" /> </p> </form> <? }else{ echo $_POST['user']; } ?> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง