用tp5写了一个简单的登录验证
?前臺(tái)的代碼
?? ?<div class="main">
?? ??? ?<div class="login-form fr">
?? ??? ??? ?<div class="form-hd">
?? ??? ??? ??? ?<h3>用戶登錄</h3>
?? ??? ??? ?</div>
?? ??? ??? ?<div class="form-bd">
?? ??? ??? ??? ?<form action="{:url('login/check')}" method="POST">
?? ??? ??? ??? ??? ?<dl>
?? ??? ??? ??? ??? ??? ?<dt>用戶名</dt>
?? ??? ??? ??? ??? ??? ?<dd><input type="text" name="user" class="text" /></dd>
?? ??? ??? ??? ??? ?</dl>
?? ??? ??? ??? ??? ?<dl>
?? ??? ??? ??? ??? ??? ?<dt>密 碼</dt>
?? ??? ??? ??? ??? ??? ?<dd><input type="password" name="pwd" class="text"/></dd>
?? ??? ??? ??? ??? ?</dl>
?? ??? ??? ??? ??? ?<dl>
后臺(tái)的代碼
?
轉(zhuǎn)載于:https://www.cnblogs.com/hjc1234/p/9958152.html
總結(jié)
以上是生活随笔為你收集整理的用tp5写了一个简单的登录验证的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: C++STL模板库适配器之stack容器
- 下一篇: 中间件及tomcat的内存溢出调优