// cannot find the outline, so grab all files that start with slide $dh = opendir($base); while (false !== ($file = readdir($dh))) { // read throug the directory
if ('slide' == substr($file, 0, 5)) { // check for name (may want to check extension later)
$path = $base.'/'.$file; if (is_readable($path)) {