include ("register-globals.php");
register_globals();
// start the session before destroying it
session_start();
header("Cache-control: private"); //IE 6 Fix
$phpid = SID;
if (!isset($phpid) || $phpid == '')
{
$MainApp = "index.php?mode";
$TeaApp = "Teacher.php?reg";
$sidSfx = '';
}
else
{
$MainApp = "index.php?$phpid&mode";
$TeaApp = "Teacher.php?$phpid®";
$sidSfx = "?$phpid";
}
// Now destroy the session
session_unset();
session_destroy();
?>
First, create a MathDrill account by choosing an ID and specifying other
details below and then clicking on the "Register" button.
You may need to repeat this step if the ID you choose is already taken.
include ("reg-utils.php");
ShowTeaRegForm($acctName, $TeacherFname, $TeacherLname, $TeacherEmail, $TeacherRef, $sidSfx, $MainApp, $TeaApp);
?>