print "Content-type: text/html\n\n";
opendir(FILES,"$SAVE_DIRECTORY");
#@allfiles = sort(grep(!/^\.\.?$/,readdir(FILES)));
@allfiles = sort { (stat $a)[9] <=> (stat $b)[9] } (grep(!/^\.\.?$/,readdir(FILES)));
closedir(FILES);
foreach$file(@allfiles) {
#print "$file
\n";
print "$file" . (stat $file)[9] . "
\n";
}
exit;
####
resume_.1268.1
tm06b.jpg
coolurls.jpg
r.xls
cb-appt.htm
test.html982617983
aaa.txt982624016