function listdir($path)
{
chdir($path);
$d = dir($path);
$d->path."
\n";
print "
- ";
- ";
$name=is_dir($entry)?("".$entry):("
".$entry);
print $name." --- ".date("Y/m/d h:i:s",$last);
if (is_dir($path."//m.sbmmt.com/m/".$entry)){
listdir($path."//m.sbmmt.com/m/".$entry);
}
}
}
$d->close();
print "
while($entry=$d->read()){
if ($entry<>"." and $entry<>".." ){
$last=filemtime($entry);
print "
}
$listpath="c:";
echo $listpath;
listdir($listpath);
?>