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 +} +?>