mirror of
https://github.com/c0de-archive/GAMA-Site.git
synced 2024-11-01 02:27:46 +00:00
file list - modified from the one in ../img
This commit is contained in:
parent
c5fafbe121
commit
324b422975
14
short/getfiles.php
Normal file
14
short/getfiles.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
if ($handle = opendir('.')) {
|
||||
while (false !== ($file = readdir($handle)))
|
||||
{
|
||||
if ($file != "." && $file != ".." && $file != "index.php" && $file != "getfiles.php" && $file != "config.php" && $file != "url")
|
||||
{
|
||||
$last_modified = filemtime($file);
|
||||
//print(date("m/j/y h:i:s a", $last_modified));
|
||||
$thelist .= '<a href="http://ugama.tk/short/'.$file.'">'.$file.'</a> Last Modified: <font align="right" color="green">'. date("m/j/y h:i:s a", $last_modified) .'</font><br />';
|
||||
}
|
||||
}
|
||||
closedir($handle);
|
||||
}
|
||||
?>
|
Loading…
Reference in New Issue
Block a user