yii 实现 用户验证和rbdc
摘要:
添加文件 controllers/AdminController.php 加入动作indexpublic function actionIndex() { $username = @$_POST['username']; $password = @$_POST['password']; if (@$username && @$password) { $identity = new AdminIdentity($username, $password); if ($ide... 阅读全文
posted @ 2012-03-31 20:00 我叫王鹏飞 阅读(325) 评论(0) 推荐(0) 编辑