相关代码 |
|
dir // print the current directory in unordered list print("\n"); // open directory $myDirectory = dir("."); // get each entry while($entryName = $myDirectory->read()) { print("$entryName \n"); } // close directory $myDirectory->close(); print("\n"); ?>
相关资源 |
|