\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;
}
?>
Phys 303 - Analytical Mechanics I ~ Rouzbeh Allahverdi - Department of Physics and Astronomy | The University of New Mexico
Phys 303 - Analytical Mechanics I
Course Syllabus
Course Notes
Homework Assignments