php scandir function

Ian Landsman • November 26, 2004

I hadn't noticed

                    <a href="http://us2.php.net/manual/en/function.scandir.php">this new addition</a> to PHP 5. Finally a nice simple way to get a listing of the directories and files within a directory. Of course it wasn't that hard before but it's one less little function that needs to be added to your code. Of course since it's only PHP 5 it's not going to be much use to me in my current project which needs to be 4/5 :-(