PHP開發之註冊前端頁面
註冊頁沒有寫的很複雜,主要是實現功能,所以就把之前登入頁面拿過來改了改。
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> <meta name="format-detection" content="telephone=no" /> <title>注册页面</title> <link rel="stylesheet" type="text/css" href="/phpMyAdmin/login.css"/> //引用CSS样式 </head> <body> <div> <img src="http://keep60.com/Project/SxgAdmin/Public/images/platform_login_header_bg.png"/> </div> <div class="mt70 w432 mar_auto re min_h400"> <form name="form1" id="form1" method="post" action="regedit.php"> <p><input type="text" class="pf_ipt_user" placeholder="请输入账号" autocomplete="off" name="username" id="_username" tabindex="1"/></p> <p><input type="password" class="pf_ipt_pass pass_bg_1" placeholder="请输入密码" autocomplete="off" name="password" id="_password" tabindex="2"/></p> <p><input type="password" class="pf_ipt_pass pass_bg_1" placeholder="请再输入一次" autocomplete="off" name="pwd_again" id="_password1" tabindex="3"/></p> <p> <button class="btn_1 w430">注册</button> </p> </form> </div> </body> </html>
頁面很簡單,沒有太複雜的東西,所以就不做詳細介紹。