How alex-afk-ux/exercicis_php works
This repository is a collection of PHP learning exercises, not a single deployed application. Its clearest end-to-end workflow is the account-registration exercise: a visitor submits the form, the processor cleans and validates fields, and the page displays errors or a registration summary before offering a thank-you page. Separate exercises demonstrate functions, variables, arrays, and forms; they appear to run independently. The registration flow is supported by excerpts; the README is empty, so links between the standalone lessons are not inferred.
Main entry points: processa.php Form processor · registre.php Registration form · gracies.php Thank-you page · config.php Site configuration
Components 18
Registration exercise
- Registration form
Funciones/M0613_ACT06/registre.php - Form processor
Funciones/M0613_ACT06/processa.php - Input and labels
Funciones/M0613_ACT06/funcions.php - Site configuration
Funciones/M0613_ACT06/config.php - Page header
Funciones/M0613_ACT06/header.php - Page footer
Funciones/M0613_ACT06/footer.php - Thank-you page
Funciones/M0613_ACT06/gracies.php
PHP functions lessons
- Function theory
Funciones/teoriaFunciones.php - Function examples
Funciones/apartat1.php - Function challenge
Funciones/repte.php
Variables and forms lessons
- Form exercises
Variables,Arrays,Formularios/EX01.php - Array exercises
Variables,Arrays,Formularios/EX07/index.php - Product and tax
Variables,Arrays,Formularios/EX06/index.php - Student arrays
Variables,Arrays,Formularios/EX08/index.php - Character calculations
Variables,Arrays,Formularios/EXERCICI3/index.php - Receipt exercise
Variables,Arrays,Formularios/EXERCICI2/index.php - Form steps
Variables,Arrays,Formularios/formularios/pas4-formularis.php
Other components
- Visitor
Connections 23
- Visitor → Registration form: opens
- Registration form → Form processor: posts to
Funciones/M0613_ACT06/registre.php - Form processor → Input and labels: uses
Funciones/M0613_ACT06/processa.php - Registration form → Site configuration: loads
Funciones/M0613_ACT06/registre.php - Registration form → Page header: includes
Funciones/M0613_ACT06/registre.php - Registration form → Page footer: includes
Funciones/M0613_ACT06/registre.php - Form processor → Site configuration: loads
Funciones/M0613_ACT06/processa.php - Form processor → Page header: includes
Funciones/M0613_ACT06/processa.php - Form processor → Page footer: includes
Funciones/M0613_ACT06/processa.php - Form processor → Thank-you page: links to
Funciones/M0613_ACT06/processa.php - Thank-you page → Site configuration: loads
Funciones/M0613_ACT06/gracies.php - Thank-you page → Page header: includes
Funciones/M0613_ACT06/gracies.php - Thank-you page → Page footer: includes
Funciones/M0613_ACT06/gracies.php - Visitor → Function theory: studies
- Visitor → Function examples: runs
- Visitor → Function challenge: runs
- Visitor → Form exercises: runs
- Visitor → Array exercises: runs
- Visitor → Product and tax: runs
- Visitor → Student arrays: runs
- Visitor → Character calculations: runs
- Visitor → Receipt exercise: runs
- Visitor → Form steps: runs