$dirname = "C:\\Apache\\bin";
$dir = opendir( $dirname );
while( false != ( $file = readdir( $dir ) ) )
{
if( ( $file != "." ) and ( $file != ".." ) )
{
$file_list .= "$file ";
}
}
closedir( $dir );
?>
Listing directory
Files in