<!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($_GET["Action"] == "Progress") { if(!$_POST["kanji"] ) { echo "<font color=red>Insert your kanji name!</font><br>"; } } ?> <? if (!$_POST["kanji"]) { ?> <form name="form1" method="post" action="<?=$_SERVER["PHP_SELF"];?>?Action=Progress"> <table cellspacing="0" cellpadding="0" border="1" summary="お問い合わせ" class="tblcon"> <tbody><tr> <th width="35%">お名前<font color="#FF0000">*</font></th> <td><input name="kanji" type="text" class="textfield-form" id="kanji" ><br><strong>例)山田 太郎</strong></td> </table> <input type="submit" name="button"> </form> <? } else {?> <form name="form1" method="post" action="receive.php"> <table cellspacing="0" cellpadding="0" border="1" summary="お問い合わせ" class="tblcon"> <tbody><tr> <th width="35%">お名前<font color="#FF0000">*</font></th> <td><?=$_POST['kanji'];?><input name="kanji" type="hidden" value="<?=$kanji;?>" /><br><strong>例)山田 太郎</strong></td> </table> <input type="submit" name="button"> </form> <? }?> </body> </html>
<? echo $kanji=$_POST['kanji']; ?>
if($_POST["Action"] == "Progress")
<html> <head> <title>ThaiCreate.Com Tutorial</title> </head> <body> <form action="<?=$_SERVER["PHP_SELF"];?>?Action=Progress" method="post" name="form1"> <? if($_GET["Action"] == "Progress") { if($_POST["txtSiteName"] == "") { echo "<font color=red>Input SuteName</font>"; } } ?> <table border="1"> <tr> <td> <?if($_POST["txtSiteName"] != "") { ?> <?=$_POST["txtSiteName"];?> <? } else { ?> <input type="text" name="txtSiteName"> <? } ?> </td> <td> <input name="btnSubmit" type="submit" value="Submit"> </td> </tr> </table> </form> </body> </html>
<!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['kanji'] == "") { ?> <form name="form1" method="post" action="<?php echo $_SERVER["PHP_SELF"];?>?Action=Progress"> <?php if($_GET["Action"] == "Progress") { if(!$_POST["kanji"] ) { echo "<font color=red>Insert your kanji name!</font><br>"; } } ?> <table cellspacing="0" cellpadding="0" border="1" summary="お問い合わせ" class="tblcon"> <tbody><tr> <th width="35%">お名前<font color="#FF0000">*</font></th> <td><input name="kanji" type="text" class="textfield-form" id="kanji" ><br><strong>例)山田 太郎</strong></td> </table> <input type="submit" name="submit"> </form> <? } elseif($_POST['kanji'] != "") { ?> <form name="form1" method="post" action="receive.php"> <table cellspacing="0" cellpadding="0" border="1" summary="お問い合わせ" class="tblcon"> <tbody><tr> <th width="35%">お名前<font color="#FF0000">*</font></th> <td><?=$_POST['kanji']?><input name="kanji" type="hidden" value="<?=$_POST['kanji']?>" /></td> </table> <input type="submit" name="button"> </form> <? } ?> </body> </html>
<?php echo $kanji=$_REQUEST['kanji']; ?> <?/* mail($strTo,$strSubject,$strMessage,$strHeader); ?> <? $strTo = "[email protected]"; $strSubject = "Test Send Email"; $strHeader = "From: [email protected]"; $strMessage = "My name is"."<br>".$kanji; $flgSend = mail($strTo,$strSubject,$strMessage,$strHeader); // @ = No Show Error // if($flgSend) { echo "Email Sending."; } else { echo "Email Can Not Send."; }*/ ?>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง