<?php //error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); if(isset($_POST["submit"])){ $arr_user = $_POST["aut"]; $arr_user["password"] = trim(md5($arr_user["password"])); echo json_encode($arr_user); } ?> <html> <head> <meta charset="utf-8" /> <script type="text/javascript" src="js/jquery-1.8.1.min.js"></script> <title>Access PR ROBOT</title> </head> <body> <script type="text/javascript"> function login(){ var obj = jQuery.parseJSON('<?=$arr_user;?>'); $.each(obj, function(key, val){ $('#text2').append(key + ' = ' + val + '<br />'); }); return false; } </script> <div style="width: 960px; margin: 0 auto; padding-top: 30px;"> <h1>Loggin PR ROBOT</h1> <form action="index.php" method="POST" align="center" onsubmit="return login()"> <label for="username">Username: </label><input type="text" id="username" name="aut[username]" /><br /> <label for="password">Password: </label><input type="password" id="password" name="aut[password]" /><br /><br /> <input type="submit" name="submit" value="Login" style="width: 75px; height: 50px;" /> </form> </div> <div id="text2"></div> </body> </html>
เพื่อความปลอดภัยของเว็บบอร์ด ไม่อนุญาติให้แทรก แท็ก [img]....[/img] โดยการอัพโหลดไฟล์รูปจากที่อื่น เช่นเว็บไซต์ ฟรีอัพโหลดต่าง ๆ อัพโหลดแทรกรูปภาพ ให้ใช้บริการอัพโหลดไฟล์ของไทยครีเอท และตัดรูปภาพให้พอดีกับสกรีน เพื่อความโหลดเร็วและไฟล์ไม่ถูกลบทิ้ง