Anonymous
public text v1 · immutable<?php
/**
* Phatback
* @copyright 2007
*/
$dir = opendir(".");
while ($file = readdir($dir)) {
if ($file != "." && $file != ".." && $file != "latest.php") {
$time = filemtime("$file");
$data[$time] = "<a href=\"$file\">$file</a><br>\n";
} }
krsort($data);
while(list($k,$v) = each($data)) { echo $v; }
clearstatcache();
?>