Files
web_2025/R3.01/tp/tp1/ex6/index.php
T
Ulysse JARNOUEN DE VILLARTAY a4580652f8 correction-ulysse (#2)
# Correction pour les TP1 TP2 et TP3

Je n'ai pas testé la connexion à la DB pour le moment car je ne peux pas me co sur https://dwarves.iut-fbleau.fr/phpmyadmin

Co-authored-by: JARNOUEN DE VILLARTAY Ulysse (SAFRAN AIRCRAFT ENGINES) <ulysse.jarnouen-de-villartay@safrangroup.com>
Reviewed-on: #2
2026-04-15 15:34:46 +02:00

36 lines
857 B
PHP

<?php
include_once './include/fonction.php';
$alphabet = "@#!*^&azertyuiopqsdfghjkklmwxcvbnAZERTYUIOPLMKJHGFDSQWXCVBN1234567890";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Exercice 5</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.classless.min.css"
>
</head>
<body>
<main>
<hgroup>
<h2>Exercice 5 : createPassword </h2>
<h3>
Test de la fonction createPassword
</h3>
</hgroup>
<article>
<ul>
<li><code><?php echo createPassword(5, $alphabet);?></code></li>
<li><code><?php echo createPassword(10,$alphabet);?></code></li>
<li><code><?php echo createPassword(15,$alphabet);?></code></li>
</ul>
</article>
</main>
</body>
</main>
</html>