\n"; $brk="~!~"; // if the string is an actual directory, proceed if ($dh = opendir($d)) { while (($file = readdir($dh)) !== false) { if (substr($file,0,1) !== '.') { $html .= '
  • ' . $file . '
  • '.$brk; } } closedir($dh); } // if no files were found, give our default message if (!strstr($html,'
  • ')) { $html .= '
  • ' . _NO_FILES_ . "
  • \n"; } $tail .= "\n"; $sort_temp = explode($brk, $html); natsort($sort_temp); $html = $head.implode("\n", $sort_temp).$tail; return $html; } ?> Physics 466 - Dr. Morrison - Department of Physics and Astronomy | The University of New Mexico

    Physics 466 - Dr. Morrison

    Course Information

    Test Solutions

    Homework Solutions