<?php <form id="frm" name="frm" method="post" action="register.php" onsubmit="return check_data()"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="2" style="border:1px solid #ffffff;"> <tr> <td align="left" style="font-size:12px; padding-left:10px; padding-right:10px;"><div align="justify"> To create an account, please enter your email address & choose a password below. </div></td> </tr> <tr> <td align="left" style="font-size:12px;"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="left" valign="middle"><strong>Email :</strong></td> </tr> <tr> <td align="left" valign="middle"><input name="email" type="text" id="email" style="width:200px; padding-left:2px; font-size:14px; border:1px solid #999999;" size="30" maxlength="100" /> <span class="style2">*</span></td> </tr> <tr> <td align="left" valign="middle"><strong>Confirm Email :</strong></td> </tr> <tr> <td align="left" valign="middle"><input name="confirm_mail" type="text" id="confirm_mail" style="width:200px; padding-left:2px; font-size:14px; border:1px solid #999999;" size="30" maxlength="100" /> <span class="style2">*</span></td> </tr> <tr> <td align="left" valign="middle"><strong>Password :</strong></td> </tr> <tr> <td align="left" valign="middle"><input name="pass" type="password" id="pass" style="width:200px; padding-left:2px; font-size:14px; border:1px solid #999999;" size="30" maxlength="100" /> <span class="style2">*</span></td> </tr> <tr> <td align="left" valign="middle"><strong>Confirm Password :</strong></td> </tr> <tr> <td align="left" valign="middle"><input name="confirm_pass" type="password" id="confirm_pass" style="width:200px; padding-left:2px; font-size:14px; border:1px solid #999999;" size="30" maxlength="100" /> <span class="style2">*</span></td> </tr> <tr> <td align="left" valign="middle" height="10"></td> </tr> <tr> <td align="left" valign="middle" > <input type="image" name="imageField" src="images/bt-continue01.jpg" onmouseover="this.src='images/bt-continue02.jpg'" onmouseout="this.src='images/bt-continue01.jpg'" /> </td> </tr> <tr> <td align="left" valign="middle" height="10"></td> </tr> </table></td> </tr> <tr> <td align="left" valign="top" height="10"></td> </tr> </table> </form> ?>
<html> <head> <title>ThaiCreate.Com PHP Sending Email</title> </head> <body> <form action="phpSendMailContactForm.php" method="post" name="frmMain"> <table width="343" border="1"> <tr> <td>To</td> <td><input name="txtTo" type="text" id="txtTo"></td> </tr> <tr> <td>Subject</td> <td><input name="txtSubject" type="text" id="txtSubject"></td> </tr> <tr> <td>Description</td> <td><textarea name="txtDescription" cols="30" rows="4" id="txtDescription"></textarea></td> </tr> <tr> <td>Form Name</td> <td><input name="txtFormName" type="text"></td> </tr> <tr> <tr> <td>Form Email</td> <td><input name="txtFormEmail" type="text"></td> </tr> <tr> <td> </td> <td><input type="submit" name="Submit" value="Send"></td> </tr> </table> <br> <br> <br> </form> </body> </html>
<html> <head> <title>ThaiCreate.Com PHP Sending Email</title> </head> <body> <? $strTo = $_POST["txtTo"]; $strSubject = $_POST["txtSubject"]; $strHeader = "Content-type: text/html; charset=windows-874\n"; // or UTF-8 // $strHeader .= "From: ".$_POST["txtFormName"]."<".$_POST["txtFormEmail"].">\nReply-To: ".$_POST["txtFormEmail"].""; $strMessage = nl2br($_POST["txtDescription"]); $flgSend = @mail($strTo,$strSubject,$strMessage,$strHeader); // @ = No Show Error // if($flgSend) { echo "Email Sending."; } else { echo "Email Can Not Send."; } ?> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง