https://github.com/k-sel/basicauthenticationphp
This repository contains a basic authentication system built using PHP, a MySQL database, and session management. It includes a database connection handled by a PDO class (DbManager) and user authentication features such as login, logout, session-based access control, and email verification for enhanced security.
https://github.com/k-sel/basicauthenticationphp
authentication pdo-mysql php sql
Last synced: about 2 months ago
JSON representation
This repository contains a basic authentication system built using PHP, a MySQL database, and session management. It includes a database connection handled by a PDO class (DbManager) and user authentication features such as login, logout, session-based access control, and email verification for enhanced security.
- Host: GitHub
- URL: https://github.com/k-sel/basicauthenticationphp
- Owner: K-sel
- License: mit
- Created: 2024-11-20T15:45:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-20T17:49:43.000Z (over 1 year ago)
- Last Synced: 2025-03-03T08:16:30.545Z (over 1 year ago)
- Topics: authentication, pdo-mysql, php, sql
- Language: PHP
- Homepage:
- Size: 351 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BasicAuthentificationPHP
This repository contains a basic authentication system built using PHP, a MySQL database, and session management. It includes a database connection handled by a PDO class (DbManager) and user authentication features such as login, logout, and session-based access control.
Features
• Secure database interaction using PDO for prepared statements and prevention of SQL injection.
• User authentication:
• Register new users.
• Log in with email and password.
• Session management for logged-in users.
• Logout functionality to destroy sessions.
• MySQL database for storing user data securely.
Personnal observations : It was an interesting exercise that represents an important milestone for me. Communicating with a database using CRUD methods is an absolute essential in today’s world. If you have any advice or suggestions for improvements, I would be happy to hear them!