List all images from a directory, what's wrong?Code:<?php include "config2.php"; ?> <?php $pasta = 'aplicaveis/neopontos/'; $arquivos = glob("$pasta{*.jpg,*.png,*.gif,*.bmp}", GLOB_BRACE) ; foreach($arquivos as $img){ ?> <img src="<?php echo $img; ?>" alt="" width="150"/> <?php } ?>