<?php session_start (); if (!isset($_SESSION['autentificado']) || $_SESSION['autentificado'] != 'SI'){ header ("Location: index.php"); } ?>