GAMA-Site/img/getfiles.php

15 lines
574 B
PHP
Raw Normal View History

<?php
if ($handle = opendir('.')) {
while (false !== ($file = readdir($handle)))
{
2012-10-09 08:34:21 +00:00
if ($file != "." && $file != ".." && $file != "index.php" && $file != "getfiles.php" && $file != "imgup.php" && $file != ".htaccess")
{
$last_modified = filemtime($file);
//print(date("m/j/y h:i:s a", $last_modified));
$thelist .= '<a href="http://unps-gama.tk/img/?img='.$file.'">'.$file.'</a> Last Modified: <font align="right" color="green">'. date("m/j/y h:i:s a", $last_modified) .'</font><br />';
}
}
closedir($handle);
}
2012-10-09 08:34:21 +00:00
?>