Retrieving all files and directories (functions)

xiaoxiao2021-03-06  117

Retrieving all files and directories

"; while ($ file = $ mydir-> read ()) {ix (((is_dir ("$ DIRECTORY / $ FILE ")) And ($ file! =". ") And ($ file! =")) {Echo

  • $ file < / font> "; Tree (" $ DIRECTORY / $ file ");} else echo"
  • $ file ";} echo" "; $ mydir-> close (} // start the program echo "

    directory is pink "; Tree (".");?>

  • 转载请注明原文地址:https://www.9cbs.com/read-126641.html

    New Post(0)