mirror of
https://github.com/c0de-archive/GAMA-Site.git
synced 2025-10-09 18:48:36 +00:00
Added the files of the project to the repo
This commit is contained in:
14
img/getfiles.php
Executable file
14
img/getfiles.php
Executable file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
if ($handle = opendir('.')) {
|
||||
while (false !== ($file = readdir($handle)))
|
||||
{
|
||||
if ($file != "." && $file != ".." && $file != "index.php" && $file != "getfiles.php" && $file != "imgup.php")
|
||||
{
|
||||
$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);
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user