Page Protect
Simply add the below lines to the php pages that you want to protect. Only logged in users can see the page.
// SESSION CHECK SET OR NOT
if (!isset($_SESSION['name'])) {
header('location: index.php');
}
Installation
Make database connection setting in config.php file
Create database using phpmyadmin or whatever way you like
Now open http://localhost/user/index.php to the browser
DEMO LOGIN
User Management: Click Here
username:admin
password:admin
Update History
Version 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
Version 2.1 18th December 2014
- Fixed: Admin sha1 password update
Version 2.0 8th December 2014
- Added: Email Verification
- Added: Encrypted Passwords
- Added: Reset Password
Version 1.3 3nd December 2014
- Added: Export csv
- Added: Line Graph dashboard
- Added: Recent Sign ups
- Added: Profile Setting Page
Version 1.2 2nd December 2014
-Bug fixed
Version 1.1 1st December 2014
-Profile page security issue fixed
Version 1.0 28th November 2014
-Initial Release