CSE/UW Login

Sign in to this resource with

Users with CSE logins are strongly encouraged to use CSENetID only. Your UW NetID may not give you expected permissions.

"; #print_r($_SERVER); $path = explode("/", getcwd()); $thisdir = end($path); #print $thisdir; readfile("https://new-rumble.cs.washington.edu/archive-banner.html"); $request = explode("/", $_SERVER['REQUEST_URI']); #print_r($request); $requestidx = array_search($thisdir, $request); if (!$request[sizeof($request) - 1]) { $request[sizeof($request) - 1] = "index.html"; } $newArray = array_slice($request, $requestidx + 1); $filepath = getcwd(); foreach ($newArray as $element) { $filepath .= "/".$element; } #print "DEBUG: The file we are echoing back through php is: {$filepath}
"; readfile(explode("?",$filepath)[0]);