read()){ if(is_file($pathdir.'/'.$a) && ($a!='.') && ($a!='..') && ($a!='index.php')){ $a=iconv("gb2312","utf-8",$a); $file_list.="".$a.""; } } $d->close(); $msg=$file_list; ?>