\n"; // if the string is an actual directory, proceed if ($dh = opendir($d)) { while (($file = readdir($dh)) !== false) { if (substr($file,0,1) !== '.') { $size = round((filesize($sub_dir.$file)/1048576),1); if ($size < 1) { $size = round((filesize($sub_dir.$file)/1024)) . ' KB'; } else { $size .= ' MB'; } $html .= '
This page links to the PowerPoint lectures from class.
If you don't have PowerPoint click here to download PowerPoint Viewer