本文实例讲述了php 实现简单的登录功能。分享给大家供大家参考,具体如下:
//登录页面:
v层前端模板:
administrator@qcee61nz66fex2d /cygdrive/c/wamp/www/thinkphp/home/tpl/login
$ ls
index.html
<!doctype html><html lang="en"> <head> <meta name="generator" content="editplus?"> <meta name="author" content=""> 防溺水三字经<meta name="keywords" content=""> <孔子观后感meta name="description" content=""> <title>document</title> </head> <body> <!doctype html><html lang="en"> <head> <meta name="generator" content="editplus?"> <meta name="author" content=""> <meta name="keywords" content=""> <meta name="description" content=""> <title>document</title> </head> <body> <center> <h1>中均运维管理平台</h1> <!--图片标签--><img src="__public__/images/scan.jpg"/> </center> <form> <center> 用户名:<input type='text' name='urname'/><br/> 密 码:<input type='passwords' name='password'/><br/> 验证码:<input type='text' name='code'/><br/> <input type='submit'/> <center/><!-- <table wid轻歌曼舞造句th="600" hborder="0" cellspacing="0" cellpadding="0"><tr><td>用户名:</td><td><inp垣读音ut type="text" name="治疗痤疮的最好方法urname"/></td><td>密码:</td><td><input type="password" name="password"/></td><td><input type="button" name="login" value="login"/></td></tr> --> </form> </body></html> </body></html>
// c层类
administrator@qcee61nz66fex2d /cygdrive/c/wamp/www/thinkphp/home/lib/action
$ ls -ltr loginaction.class.php
<?php class loginaction extends action { function index(){ $this->display(); }}?>
本文发布于:2023-04-08 05:08:05,感谢您对本站的认可!
本文链接:https://www.wtabcd.cn/fanwen/zuowen/5bb19d1f14529168313310efc775cc1a.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文word下载地址:php 实现简单的登录功能示例【基于thinkPHP框架】.doc
本文 PDF 下载地址:php 实现简单的登录功能示例【基于thinkPHP框架】.pdf
留言与评论(共有 0 条评论) |