This commit is contained in:
thaaoblues 2023-07-02 19:30:06 +02:00
parent bd5acd9044
commit 5eb712053b
2 changed files with 10 additions and 1 deletions

View file

@ -1,6 +1,10 @@
<?php
$page = "index";
include "script.php";
/*
//CAS
require_once("../phpCAS-1.3.6/CAS.php");
@ -39,7 +43,10 @@ if(isset($_POST['login'])) {
$_SESSION = array();
session_destroy();
header('Refresh:0');
}
}*/
$_SESSION['id']=1
?>
<!DOCTYPE html>

View file

@ -28,6 +28,8 @@ if($user['perm'] < 3) {
$mot = htmlspecialchars($_POST["mot"]);
$req = $db->prepare("INSERT INTO mots_croise(name,trouve) VALUES(?,?)");
$req->execute(array($mot,FALSE));
echo "ajt";
}
if(isset($_POST["SUPP_MOT"])){