How helengarradogarcia/proyectologin_tp3 works
Proyecto Login is a PHP/MySQL account system. Users can register, sign in, recover a password, view their role and recent access history, and log out; browser JavaScript also validates forms and provides a persistent light/dark theme. The sampled PHP shows form handlers calling shared session/database utilities and querying or updating MySQL. The README documents the database tables and product features. Some pages and the SQL schema were not sampled, so their internal behavior is represented only where the README or excerpts support it.
Main entry points: dashboard.php Dashboard · config.php Session and database utilities · index.php Login screen · procesar_login.php Login processing
Components 14
Browser screens
- Login screen
public/index.php - Registration screen
public/registro.php - Recovery screen
public/recuperar.php - Dashboard
public/dashboard.php - Form and theme behavior
public/js/script.js - Responsive styling
public/css/style.css
Account workflows
- Login processing
src/procesar_login.php - Registration processing
src/procesar_registro.php - Recovery processing
src/procesar_recuperar.php - Session logout
src/logout.php
Shared services
- Session and database utilities
src/config.php
Persistence
- Database schema
database/database.sql - MySQL database
Other components
- User
Connections 26
- User → Login screen: opens
README.md - User → Registration screen: opens
README.md - User → Recovery screen: opens
README.md - User → Dashboard: views
README.md - Login screen → Login processing: posts credentials
public/index.php - Registration screen → Registration processing: posts registration
public/registro.php - Recovery screen → Recovery processing: posts email
public/recuperar.php - Login screen → Form and theme behavior: loads
public/index.php - Dashboard → Form and theme behavior: loads
public/dashboard.php - Login screen → Responsive styling: loads
public/index.php - Registration screen → Responsive styling: loads
public/registro.php - Recovery screen → Responsive styling: loads
public/recuperar.php - Dashboard → Responsive styling: loads
public/dashboard.php - Login processing → Session and database utilities: uses session and connection
src/procesar_login.php - Registration processing → Session and database utilities: uses session and connection
src/procesar_registro.php - Recovery processing → Session and database utilities: uses session and connection
src/procesar_recuperar.php - Dashboard → Session and database utilities: uses session and connection
public/dashboard.php - Session logout → Session and database utilities: starts session
src/logout.php - Login processing → MySQL database: reads account and role
src/procesar_login.php - Login processing → MySQL database: records access attempts
src/procesar_login.php - Registration processing → MySQL database: reads role and inserts user
src/procesar_registro.php - Recovery processing → MySQL database: reads and updates password
src/procesar_recuperar.php - Dashboard → MySQL database: reads access history
public/dashboard.php - Session and database utilities → MySQL database: opens PDO connection
src/config.php - Database schema → MySQL database: defines tables for
README.md - Dashboard → Session logout: links to
public/dashboard.php