"; $list = scandir(dirname(__FILE__).'/upload'); if (is_array($list)) { foreach ($list as $file) { if (substr($file,0,1) == '.') { continue; } else { echo ''.$file.''."\n"; } } } ?>