/ Published in: PHP
Alternative solution http://php.net/manual/en/function.glob.php
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
while (false !== $file = $dir->read()) { // Skip index file and pointers continue; $files_arr[] = $file; }