Can't connect"; echo "
  • MySQL Error: ", mysql_error(); die; } if (! mysql_select_db($SESS_DBNAME, $SESS_DBH)) { echo "
  • Unable to select database $SESS_DBNAME"; die; } return true; } function sess_close() { return true; } function sess_read($key) { global $SESS_DBH, $SESS_LIFE; $qry = "SELECT value FROM sessions WHERE sesskey = '$key'"; // AND expiry > " . time(); $qid = mysql_query($qry, $SESS_DBH); if (list($value) = mysql_fetch_row($qid)) { return $value; } return false; } function sess_write($key, $val) { global $SESS_DBH, $SESS_LIFE; $expiry = time() + $SESS_LIFE; $value = addslashes($val); $qry = "INSERT INTO sessions VALUES ('$key', $expiry, '$value')"; $qid = mysql_query($qry, $SESS_DBH); if (! $qid) { $qry = "UPDATE sessions SET expiry = $expiry, value = '$value' WHERE sesskey = '$key' AND expiry > " . time(); $qid = mysql_query($qry, $SESS_DBH); } return $qid; } function sess_destroy($key) { global $SESS_DBH; $qry = "DELETE FROM sessions WHERE sesskey = '$key'"; //echo $qry; $qid = mysql_query($qry, $SESS_DBH); //echo "qid".$qid; //$qry = "DELETE FROM sessions WHERE value = ''"; //echo $qry; //$qid = mysql_query($qry, $SESS_DBH); return $qid; } function sess_gc($maxlifetime) { global $SESS_DBH; $qry = "DELETE FROM sessions WHERE expiry < " . time(); $qid = mysql_query($qry, $SESS_DBH); return mysql_affected_rows($SESS_DBH); } session_set_save_handler("sess_open","sess_close","sess_read","sess_write","sess_destroy","sess_gc"); //session_start(); ?> EKU Students Today - Eastern Kentucky University
       
    View by Month  RSS
     « Monday, April 16, 2012 »Expanded View 
    Back
    FREE Sampling in the Fountain Food Court

      
    FREE Sampling in the Fountain Food Court!

    Stop by for FREE SAMPLES and a chance to win FREE PRIZES!

    Come to the On-Campus Sampling Event of Starbucks Frappuccino's in the Fountain Food Court.

    Only a ONE DAY EVENT. 11:00AM AND 3:00PM

    Event Date: April 16  11:00am and 3:00pm  Location: Food Court ground floor of Powell  Cost: Na
    Contact Information: Greg DeJaynes, 859-622-5005