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 Web Courses
     Web Course Fact Sheet
      CSC 110, Introduction to the Internet
    *ONLINE TUITION RATE
     InstructorsPost New Course/Edit Current Entry
    • The entries below are contributed by instructors to alert students about the technology requirements for specific courses.
    • Directions for instructors


    To Register in an EKU web course, students must login to EKUDirect.
    Semester: Spring 2013
    Course Subject: CSC
    Course #: 110
    Course Section: 002
    Course Title: Introduction to the Internet
    *ONLINE TUITION RATE
    Course Section Information: CRN 26624
    Credit Hours: 1
    Special Section 
    Registration Requirements: 
    11/08/2012-04/03/2013
    Course Begins: Apr 01, 2013
    Course Ends: May 03, 2013
    Instructor: Kishore Acharya
    Instructor's Email: kishore.acharya@eku.edu
    Web Course Features (Students will be required to use):
     Email Discussion Boards Online Chat/Virtual Classroom
     Online Tests PowerPoint Files Other  Blackboard
     Required Online Chat;
    Times, Dates and frequency of Online Chat Sessions:
    Students will need to have access to the Internet.

    Students must use Mozilla FireFox to take online tests. A free download is available at: http://www.mozilla.com
     Printed Textbooks:
    No textbook is required
    Instructor's Web Page
    (with syllabus and detailed course information):
     http://people.eku.edu/acharyak/CSC110/CSC110Syllabus13.html