Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente | |||
|
projets:lcd_status:start [2025/11/21 07:01] enseignant |
projets:lcd_status:start [2025/11/21 07:24] (Version actuelle) enseignant |
||
|---|---|---|---|
| Ligne 12: | Ligne 12: | ||
| {{projets: | {{projets: | ||
| - | ==== Références et liens ==== | + | |
| - | * Notez ici les références artistiques et techniques, ou autres influences | + | |
| - | * | + | |
| - | * | + | |
| ===== Notes techniques et matériaux ===== | ===== Notes techniques et matériaux ===== | ||
| - | Liste de matériel et composants nécessaires (documents avec photo si possible...) | + | Code pour l'esp : |
| <code c+> | <code c+> | ||
| Ligne 183: | Ligne 180: | ||
| + | </ | ||
| + | |||
| + | ===== Coté FTP-php ===== | ||
| + | <code html> | ||
| + | < | ||
| + | <html lang=" | ||
| + | < | ||
| + | <meta charset=" | ||
| + | <meta name=" | ||
| + | < | ||
| + | < | ||
| + | body { | ||
| + | background-color: | ||
| + | color: white; | ||
| + | font-family: | ||
| + | font-size: 18px; | ||
| + | margin: 0; | ||
| + | padding: 20px; | ||
| + | } | ||
| + | h1 { | ||
| + | color: lightgray; | ||
| + | } | ||
| + | |||
| + | h5 { | ||
| + | color: #666; | ||
| + | font-size: | ||
| + | } | ||
| + | form { | ||
| + | background-color: | ||
| + | padding: 20px; | ||
| + | width: 60%; | ||
| + | border-radius: | ||
| + | margin-top: 20px; | ||
| + | } | ||
| + | label { | ||
| + | display: block; | ||
| + | margin-bottom: | ||
| + | } | ||
| + | input[type=" | ||
| + | width: 80%; | ||
| + | padding: 10px; | ||
| + | font-size: 16px; | ||
| + | margin-bottom: | ||
| + | border: 1px solid gray; | ||
| + | border-radius: | ||
| + | background-color: | ||
| + | color: white; | ||
| + | } | ||
| + | input[type=" | ||
| + | background-color: | ||
| + | color: white; | ||
| + | font-size: | ||
| + | padding: 10px 15px; | ||
| + | border: none; | ||
| + | border-radius: | ||
| + | cursor: pointer; | ||
| + | } | ||
| + | input[type=" | ||
| + | background-color: | ||
| + | color: | ||
| + | } | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | <form action="" | ||
| + | <label for=" | ||
| + | <input type=" | ||
| + | <input type=" | ||
| + | </ | ||
| + | |||
| + | <?php | ||
| + | if ($_SERVER[" | ||
| + | $texte = htmlspecialchars($_POST[' | ||
| + | |||
| + | // Effacer le contenu du fichier et y écrire le nouveau texte | ||
| + | file_put_contents(' | ||
| + | |||
| + | echo "< | ||
| + | } | ||
| + | ?> | ||
| + | </ | ||
| + | </ | ||
| </ | </ | ||
| ===== Photos et médias===== | ===== Photos et médias===== | ||