Add a few more missing "exit" calls after a header("Location");

This commit is contained in:
james 2007-05-10 19:18:01 +00:00
parent ec28dcfb7a
commit 0de2bfeef0
4 changed files with 8 additions and 0 deletions

View File

@ -2,4 +2,5 @@
exec("nice php judges_sa.php >/dev/null 2>&1 &");
usleep(1000000); // 1 second to allow the judges_sa to update the % status to 0% otherwise the status page will think its not running if it gets there too soon
header("Location: judges_scheduler_status.php");
exit;
?>

View File

@ -55,6 +55,7 @@
//now redirect to jduges main
header("Location: register_judges_main.php");
exit;
}
@ -72,6 +73,7 @@
$_SESSION['judges_lastlogin']=$r->lastlogin;
mysql_query("UPDATE judges SET lastlogin=NOW() WHERE id='$r->id'");
header("Location: register_judges_main.php");
exit;
}
else
{
@ -120,7 +122,10 @@
}
if($_SESSION['email'] && $_SESSION['judges_id'])
{
header("Location: register_judges_main.php");
exit;
}
send_header("Judges Registration");

View File

@ -129,6 +129,7 @@
if($_SESSION['registration_number'] && $_SESSION['registration_id'] && $_SESSION['email'])
{
header("Location: register_participants_main.php");
exit;
}

View File

@ -263,6 +263,7 @@ if($_SESSION['schoolid'] && $_SESSION['schoolaccesscode'])
else
{
header("Location: schoolaccess.php");
exit;
}
?>