PHP list all files in folder

Last modified: July 18, 2021
<?php $dir = 'C:\Temp'; $files = scandir($dir); print_r($files) ?>