Show pagesourceOld revisionsBacklinksBack to top Share via Share via... Twitter LinkedIn Facebook Pinterest Telegram WhatsApp Yammer RedditRecent ChangesSend via e-MailPrintPermalink × read files in a directory <?php $dh = opendir("."); while( $file = readdir($dh) ){ if( $file == "." || $file == ".." ) continue; echo "$file\n"; } closedir($dh); ?> docs/programming/php/read_files_in_a_directory.txt Last modified: 2009/02/09 22:17by billh