Files
web_2025/R3.01/tp/tp1/ex6/index.php
T

36 lines
852 B
PHP
Raw Normal View History

2026-03-23 14:01:45 +01:00
<?php
include './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>