read()){ if (($element != '.') and ($element != '..') and ($element != 'Thumbs.db') and ($element != '_thumbs')){ echo ''."\n"; $count++; } } } ?>