页面保护
只需将以下几行添加到您要保护的 php 页面即可。只有已登录的用户才能看到该页面。
// SESSION CHECK SET OR NOT if (!isset($_SESSION['name'])) { header('location: index.php'); }
安装
- 在 中设置数据库 config.php 文件
- 使用 phpmyadmin 或任何您喜欢的方式创建数据库
- 现已开放 http://localhost/user/index.php 到浏览器
DEMO 登录
用户管理: 点击这里
username:admin password:admin
更新历史
版本 2.3
--Security issue:GET method Changed to POST AJAX Load Users in admin panel ---admin/view_users.php - Edited ---admin/code/ajaxUserView.php - New File
版本 2.1 18th 十二月 2014
- Fixed: Admin sha1 password update
版本 2.0 8th 十二月 2014
- Added: Email Verification - Added: Encrypted Passwords - Added: Reset Password
版本 1.3 3nd 十二月 2014
- Added: Export csv - Added: Line Graph dashboard - Added: Recent Sign ups - Added: Profile Setting Page
版本 1.2 2nd 十二月 2014
-Bug fixed
版本 1.1 1st 十二月 2014
-Profile page security issue fixed
版本 1.0 28th 十一月 2014
-Initial Release