0
<?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

Edited by mike_2000_17: Fixed formatting

2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by rohnni
0

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

thanks

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.