From f02f27db307481feb02407da6e58ed2f972e487e Mon Sep 17 00:00:00 2001 From: alopexc0de Date: Tue, 9 Oct 2012 01:36:57 -0400 Subject: [PATCH] From http://ugama.tk/short/1679034884 and modified for links --- upload-list.php | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 upload-list.php diff --git a/upload-list.php b/upload-list.php new file mode 100644 index 0000000..1adaf2c --- /dev/null +++ b/upload-list.php @@ -0,0 +1,30 @@ +$spaces $file
"; + getDirectory( "$path/$file", ($level+1) ); + // Re-call this same function but on a new directory. + // this is what makes function recursive. + } else { + echo "$spaces $file
"; + // Just print out the filename + } + } + } + closedir( $dh ); + // Close the directory handle +} +?>