et juste une petite correction :


<?php
session_start();
if (!isset($_SESSION['pseudo'])) {
header ('Location: index.php');
exit();
}
?>