Hi guys, i wonder if you all shed some light as to how i can echo all the filenames of a folder, and if possible, store it in an array so that i can use it later on. thanks!
RTM
http://www.php.net/manual/en/function.opendir.php
<?php
if ($dir = @opendir("/tmp")) { while (($file = readdir($dir)) !== false) { echo "$file\n"; } closedir($dir); }
?>