Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Finding Paths, Timestamps and More with the DirectoryIterator Class in PHP
Sep 18, 2006 @ 13:21:51

DevShed continues its look at the DirectoryIterator functionality in PHP5 with the second part of the series today - "Finding Paths, Timestamps and More with the DirectoryIterator Class in PHP".

Are you interested in having at your disposal a quick reference for working with the "DirectoryIterator" class that comes with PHP 5? Then this might be the article that you’ve been waiting for! Welcome to the second tutorial of the series "A Close Look at the DirectoryIterator Class in PHP 5." Over the course of this set of installments, you'll find complete coverage of the most important methods bundled with this class, and learn how to take advantage of their excellent functionality.

They cover even more functions in this part:

  • rewind, current, valid
  • getFileName, isFile
  • getMTime, getATime, getCTime
  • getPath, getPathName
Each set is supported by code and explaination to help introduce their concepts in a useful way.

tagged: tutorial directoryiterator methods part2 path timestamp file tutorial directoryiterator methods part2 path timestamp file

Link:


Trending Topics: