A secure login/logout form with sessions to protect from unauthorized access.
Licensed under MIT
PHP and MySQL was used to create the form and administration interface. Secure Login
- Clone files to localhost.
- Create a new database in phpMyAdmin.
- Add a new global user granted all privileges.
- Connect to the database by creating a dbinfo.php file and add in your information.
const DB_HOST = "localhost";
const DB_USER = "(user)";
const DB_PASS = "(generated password)";
const DB_NAME = "(database name)";
Form - index.php
Dashboard Control Panel - page01.php
User Profile - profile.php
Add Student - add_user.php
Manage Database - table_students.php
Add User - add_user_admin.php
Update User - update_page.php
Delete User - delete_page.php
Validations - session-authorize.php
Terminate session and prevent brute force - security-guard.php
process_page_adduser.php
process_page_adduser_admin.php
process_page_delete.php
process_page_update.php
style.css
Font Awesome CDN
Eric Meyer Reset