if (substr($_SERVER['PHP_SELF'],-15) == "administrar.php") { header("location:fuera.php"); exit;}//acá el resto del código