<?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
rohnni
-4
Junior Poster in Training
Recommended Answers
Jump to PostUse
error_reporting(E_ALL ^ E_NOTICE);
on top of your script (after session_start).
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.