<?php $root = $_SERVER['DOCUMENT_ROOT']; include($root . "/util/session.php");//checks that the user is logged in include($root . "/util/privilege_check.php"); checkPrivilege("student"); echo "welcome, student"; ?>