<?php
session_start();
$ss = $_SESSION['event'];
if ($ss != "eventcal")
{
    $type = $_POST['type'];

    if($type=="auth")
    {   
      include "checkauth.php";
    }else{
     include "authlogin.php";
     $block = true;
    }
}else
{
    $block = false;
}

?>



Notice: Undefined index: event in E:\domains\h\highweb.co.uk\user\htdocs\geeta\assignments\php\HEC_1_2\HEC\authheader.php on line 3

Notice: Undefined index: type in E:\domains\h\highweb.co.uk\user\htdocs\geeta\assignments\php\HEC_1_2\HEC\authheader.php on line 6

Notice: Undefined variable: xx in E:\domains\h\highweb.co.uk\user\htdocs\geeta\assignments\php\HEC_1_2\HEC\authlogin.php on line 17

Use error_reporting(E_ALL ^ E_NOTICE); on top of your script (after session_start).

Use error_reporting(E_ALL ^ E_NOTICE); on top of your script (after session_start).

thanks