Login/LoginAction.class.php
来源:互联网 发布:酒店管理系统sql语句 编辑:程序博客网 时间:2024/06/07 02:52
<?php
// 本类由系统自动生成,仅供测试用途
class LoginAction extends Action {
public function index(){
$this->display();
}
function do_login(){
//dump($_SESSION);
$username=$_POST['username'];
$password=$_POST['password'];
$code=$_POST['code'];
if($_SESSION['verify'] !== md5($code)){
$this->error("验证码错误!");
}
$m=M('User');
$where['username']=$username;
$where['password']=$password;
$i=$m->where($where)->count();
if($i > 0) {
$this->redirect('User/index');
}else{
$this->error('该用户不存在');
}
}
}
0 0
- Login/LoginAction.class.php
- public class LoginAction extends ActionSupport {
- LoginAction
- Action class [loginAction] not found - action - file
- Unable to instantiate Action, loginAction, defined for 'login' in namespace
- PHP LOGIN
- 登录dct出现如下错误:[cn.vlabs.duckling.vwb.services.login.LoginAction]-[ERROR] User login
- Caused by: Action class [action.LoginAction] not found 解决方法
- login.php源代码分析
- PHP LOGIN PAGE
- PHP Login script tutorial
- header("Location:login.php")
- header("Location:login.php")
- <action name="loginAction_home" class="com.tfy.actions.LoginAction" method="home">
- Action class [loginAction] not found - action - file:/D:/tomcat/webapps/JYGZXT/WEB-INF/classes/strut
- Caused by: Action class [com.struts.action.LoginAction] not found 解决方法
- Caused by: Action class [com.struts.action.LoginAction] not found 解决方法
- Caused by: Action class [com.struts.action.LoginAction] not found 解决方法
- GOF23的一些总结(二十一)
- Login/index.html
- 基于寄存器与基于栈的虚拟机
- 如何进行SuperMap iServer服务端开发
- hibernate配置文件hibernate.cfg.xml和.hbm.xml的详细解释
- Login/LoginAction.class.php
- 【软件测试】软件质量标准与测试依据和规范
- 使用任务并行库(1)
- 验证码
- 小程序的初体验
- Xshell 5鼠标选中,终端立即退出(ctrl+c)
- Model 连贯操作
- 工具类库系列(七)-Logger
- openwrt 查看 lan口的 UP,DOWN 状态