先导入数据表: CREATE TABLE `hxh_user` ( `id` int(10) NOT NULL AUTO_INCREMENT, `name` varchar(100) NOT NULL, `pwd` varchar(100) NOT NULL, PRIMARY KEY (`id`)) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; 涉及到的文件: ./Application/Common/Config/config.php //数据库配置文件./Application/Home/Controller/IndexController.class.php //用户的注册与登录处理都在里面./Application/Home/View/Index/index.html //登录页面./Application/Home/View/Index/reg.html //注册页面./Application/Home/View/Index/user.html //用户中心 下载链接: |
|