header("Location: http://studentlife.gatech.edu/weekly-digest"); exit; require('../../php/functions.php'); require('pFunctions.php'); require("../../php/sharedFunctions.php"); include_once('../../phpCAS/CAS.php'); // initialize phpCAS phpCAS::client(CAS_VERSION_2_0,'login.gatech.edu',443,'cas'); // no SSL validation for the CAS server phpCAS::setNoCasServerValidation(); if (isset($_REQUEST['logout'])) { phpCAS::logout(); } if (isset($_REQUEST['LOGIN'])) { phpCAS::forceAuthentication(); $auth = phpCAS::checkAuthentication(); } if($auth){ $_SESSION['GTaccount'] = phpCAS::getUser(); header('Location: form.php'); } ?> Weekly Digest Form Please log in with a valid GT Account user name and password to be able to use the weekly digest system.