/ Published in: PHP
By requinix
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$diriterator = new RecursiveDirectoryIterator("images"); $iterator = new RecursiveIteratorIterator($diriterator, RecursiveIteratorIterator::SELF_FIRST); foreach ($iterator as $file) { }
URL: http://forums.devshed.com/php-development-5/need-help-implementing-custom-class-629622.html