PHP5: Directory & DirectoryIterator
| From: | Vivian Steller | Date: | Wed, 25 Feb 2004 17:23:48 +0000 |
| Subject: | PHP5: Directory & DirectoryIterator | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-178857@lists.php.net to get a copy of this message | ||
Hello,
using PHP5 Beta 4 I saw some new classes like DirectoryIterator with nice
methods like:
__construct
rewind
hasMore
key
current
next
getPath
getFilename
getPathname
getPerms
getInode
...
but i don't know how to apply them?
Would be nice if somebody could post some links with code examples
(recursive filesystem reading; just getting folder contents; etc.)...
Thanks,
vivi