PROJET-WEB_STRI1A/WEB/deconnexion.php
2019-05-10 09:43:17 +02:00

11 lines
166 B
PHP

<?php
require_once 'connectionBD.php';
session_start();
if (isset($_SESSION['mail'])){
session_unset();
session_destroy();
}
header('Location: index.php');