/ Published in: PHP
php list all files of a given directory
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php //The second example shows how to retrieve only the files //contained in a given path. $filelist[] = $entry; } } } ?>