This commit is contained in:
2022-03-29 10:42:26 +02:00
parent 395693612a
commit 04890228bb
694 changed files with 4094 additions and 21 deletions

9
logout.php Normal file
View File

@@ -0,0 +1,9 @@
<?php
// détruit la session et rappelle la page appelante
// ne fait aucun affichage
session_start();
$_SESSION =array(); // réinitialise tt les variables de session array vide
session_destroy();
$cible=$_SERVER['HTTP_REFERER']; // url de la page dont on vient
header("location:".$cible.""); // et on y retourne
?>