"Fatal error: Call to undefined method DirectoryIterator::seek()"
Code: Select all
$dir = new DirectoryIterator( '//Servername/QA/Builds' );
$count = 0;
while($dir->valid()) {
$dir->next();
$count++;
}
echo $count;
while($count > 0 ) {
$dir->seek($count--);
......
}
thanks