I\'m using the following PHP code to list all files and folders under the current directory:
List of files foreach(getFiles() as $file) echo "$file"; ?>