註冊(cè)頁(yè)面的簡(jiǎn)單編寫(xiě)
新register.php頁(yè)面:
#程式碼如下:
<?php ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <form action="check.php" method="post"> 用戶名:<input type="text" id="name" name="name"/><br> 密碼:<input type="password" id="pwd" name="pwd" /><br> 手機(jī)號(hào):<input type="text" id="phone" name="phone" /><br> <input id="msg" hidden> <input id="code" hidden name="code"> <input type="text" id="yzm" name="yzm"><input type="button" id="yzmfs" value="發(fā)送短信驗(yàn)證碼" onclick="settime(this)" /> <br> <input type="submit" id='register' name='register' value="注冊(cè)"> </form> </body> </html>
#執(zhí)行結(jié)果: