How can I list all files in a directory sorted alphabetically using PHP?

后端 未结 7 927
终归单人心
终归单人心 2021-01-01 17:01

I\'m using the following PHP code to list all files and folders under the current directory:



        
7条回答
  •  忘掉有多难
    2021-01-01 17:42

    You can use this beautiful script:

    http://halgatewood.com/free-php-list-files-in-a-directory-script/

提交回复
热议问题