// The directory where the source file is located
$dir = "./tp/Home/Lib/Action/" ;
if ( $handle = opendir ( $dir )) {
while ( false !== ( $file = readdir ( $handle ))) {
if ( $file != "." && $file != ".." ) {
echo $file . '
' ;
}
closedir ( $handle );
}
?>
http://www.bkjia.com/PHPjc/971766.html
www.bkjia.com