php 实现简单的登录
2016-04-15 11:00
585 查看
//登录页面: 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='username'/><br/> 密 码:<input type='passwords' name='password'/><br/> 验证码:<input type='text' name='code'/><br/> <input type='submit'/> <center/> <!-- <table width="600" hborder="0" cellspacing="0" cellpadding="0"> <tr> <td>用户名:</td> <td><input type="text" name="username"/></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(); } } ?>
相关文章推荐
- Yii 常用命令
- php魔术常量,魔术方法
- 文章标题
- phpmyadmin文件上传上限修改
- php多虚拟主机配置
- laravel5 artisan
- 使用phpqrcode生成某一个页面的二维码
- PHP6连接SQLServer2005的三部曲
- php7 安装 及和php5的共存
- PHP不报错,显示500
- PHP不报错,显示500
- phpstorm 10 注册码 汉化包
- yii2 数据库操作详解(转载)
- php实现网页trace方法
- MysqL的root用户不允许远程连接,只能通过PHPMYADMIN
- php使用pear_smtp发送邮件
- php多态
- ThinkPHP通过AJAX返回JSON的两种实现方法
- [工作记录]ListView添加FootView,LayoutParams转化出错
- FTP服务器需要开几个端口