plateforme-tfjm2/server_files/deconnexion.php

15 lines
192 B
PHP

<?php
include 'config.php';
unset($_SESSION["user_id"]);
session_destroy();
?>
<?php include "header.php" ?>
<h2>Déconnexion réussie !</h2>
<?php include "footer.php" ?>