GAMA-Site/img/getfiles.php

15 lines
619 B
PHP
Raw Permalink Normal View History

<?php
2012-11-16 09:16:01 +00:00
if ($handle = opendir('Pictures')) {
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));
2012-11-16 09:16:01 +00:00
$thelist .= '<a href="http://img.unps-gama.info/?img='.$file.'">'.$file.'</a> Last Modified: <font align="right" color="green">'.'Not Availiable at the moment...'/*date("m/j/y h:i:s a", $last_modified) */.'</font><br />';
}
}
closedir($handle);
}
2012-10-09 08:34:21 +00:00
?>