Sami
public text v1 · immutable<?php
$path='./';
if (is_dir("$path") )
{
$handle=opendir($path);
while (false!==($file = readdir($handle))) {
if ($file != "." && $file != "..") {
$Diff = (time() - filectime("$path/$file"))/60/60/24;
if ($Diff < 2) echo("$file");
}
}
closedir($handle);
}
?>