PHP scandir()


개요

PHP scandir()
<?php
$files = scandir('/');
print_r($files);
<?php
$files = scandir('/', SCANDIR_SORT_DESCENDING);
print_r($files);

같이 보기

참고