A secure, modular, and lightweight PHP + MySQL record management system.
- Modular Architecture: Separated logic into
app/,config/, andviews/for better maintainability. - PDO Integration: Transitioned from mysqli to PDO for robust SQL injection protection.
- Secure File Handling: Files are stored outside public access and served via an authenticated PHP stream.
- Improved UI: Fully responsive dashboard with Bootstrap 4 and Dynamic Modals.
- Security Hardening: CSRF protection, secure sessions, and environment-aware file paths.
- Backend: PHP 8.x (PDO, Session Security)
- Database: MySQL (MariaDB)
- Frontend: Bootstrap 4, DataTables, FontAwesome 6
- Clone the repository to
C:\xampp\htdocs\kayit. - Configure your database in
config/config.php(Rename fromconfig.php.exampleif needed). - Import
schema.sqlvia phpMyAdmin. - Ensure
storage/uploadsis writable. - Visit
http://localhost/kayit/login_form.php.
- Use
.gitignoreto prevent sensitiveconfig.phpand user uploads from being public. - Passwords hashed via
password_hash().