foreach ((readdir(HTMLDIR)) { # stuff }