PROJET-WEB_STRI1A/WEB/ressources/verifconnecte.php

9 lines
185 B
PHP
Raw Normal View History

<?php
//Si on est pas connecté redirection vers la page de connexion
if (!isset($_SESSION['mail'])) {
header('Location: ../index.php');
exit();
}
$mail = $_SESSION['mail'];
?>