PHP Tutorial FileSystemIterator

Iterator

  1. Create a new filesystem iterator in PHP
  2. List the contents of a directory using a while loop with FilesystemIterator::next in PHP
  3. List the contents of the directory containing the script in PHP
  4. Retrieve the key for the current file in FilesystemIterator in PHP
  5. Rewind back to the beginning with FilesystemIterator::rewind in PHP
  6. Show difference between FilesystemIterator::KEY_AS_PATHNAME and FilesystemIterator::KEY_AS_FILENAME flags in PHP




















Home »
  PHP Tutorial »
    File »




Directory
DirectoryIterator
Drive
File
File Permission
File Read Save
FileSystemIterator
Path
Zip