From: s-ko Date: Wed, 15 Oct 2014 21:03:54 +0000 (+0100) Subject: Layout for better targeting X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c526764c72605d3fd1c6d2b2ee84d7f07c8328c3;p=simple-upload.git Layout for better targeting --- diff --git a/index.php b/index.php index 9e0208b..aa385df 100644 --- a/index.php +++ b/index.php @@ -188,49 +188,55 @@ echo 'File has been removed'; exit; } + + function ListFiles ($dir, $exclude) { + $file_array = array(); + $dh = opendir($dir); + while (false !== ($filename = readdir($dh))) + if (is_file($filename) && !in_array($filename, $exclude)) + $file_array[filemtime($filename)] = $filename; + ksort($file_array); + $file_array = array_reverse($file_array, true); + return $file_array; + } + ?> - Simple PHP Upload + strace.club -

Simple PHP Upload

-

- Maximum upload size: -

+

strace.club

-
- Choose File:
- -
+ Maximum upload size:
+
- Uploaded files:
+

Uploaded files: