943,660 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 333
  • PHP RSS
Mar 11th, 2009
0

calendar-events

Expand Post »
Quote ...
<?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
Similar Threads
Reputation Points: 6
Solved Threads: 0
Junior Poster in Training
rohnni is offline Offline
58 posts
since Feb 2009
Mar 11th, 2009
0

Re: calendar-events

Use error_reporting(E_ALL ^ E_NOTICE); on top of your script (after session_start).
Moderator
Featured Poster
Reputation Points: 524
Solved Threads: 356
Purple hazed!
nav33n is offline Offline
3,878 posts
since Nov 2007
Mar 11th, 2009
0

Re: calendar-events

Click to Expand / Collapse  Quote originally posted by nav33n ...
Use error_reporting(E_ALL ^ E_NOTICE); on top of your script (after session_start).
thanks
Reputation Points: 6
Solved Threads: 0
Junior Poster in Training
rohnni is offline Offline
58 posts
since Feb 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Need Help
Next Thread in PHP Forum Timeline: Save/serialize resource-type





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC