<?php
session_start();
if (!isset($_SESSION['login']) || !isset($_SESSION['pwd'])) {
print_r($_SESSION);
header('location: ../index.php');
}
else{
echo 'voous etes autentifié';
?>