TP securite

This commit is contained in:
2023-05-25 11:50:30 +02:00
parent 9fe9193dd7
commit d8a54afed8
12 changed files with 624 additions and 0 deletions

9
TPSecurite/lib/common.php Executable file
View File

@@ -0,0 +1,9 @@
<?php
function initDatabase() {
$db = mysqli_connect(host,database,login,password);
if(!$db){
echo "erreur connexion";}
return $db;
}