From cce5e7710295021b41d9aaecc503a60fb99256be Mon Sep 17 00:00:00 2001 From: deva Date: Sat, 4 Oct 2008 10:38:03 +0000 Subject: Initial revision --- forum/utils/filehandler.php | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 forum/utils/filehandler.php (limited to 'forum/utils/filehandler.php') diff --git a/forum/utils/filehandler.php b/forum/utils/filehandler.php new file mode 100644 index 0000000..231ddd6 --- /dev/null +++ b/forum/utils/filehandler.php @@ -0,0 +1,33 @@ +newFile($_FILES['userfile']['tmp_name'], $name); + } +} + +if($task == "delete" && $fid) { + $files->deleteFile($fid); +} + +$files->show(); + + +?> +
+

+ File: +

+

+ Use alternative filename (leave empty to use original filename): + +

+

+ +

+
-- cgit v1.2.3