Código PHP:
$dir = opendir("imagenes");
while ($ficheros = readdir($dir))
{
if (ereg("gif$",$ficheros))
{
$arrayficheros[$i]=$ficheros;
$i++;
}
}
for ($i=$empieza; $i <= $termina; $i++)
{
print "<img src=imagenes/$arrayficheros[$i]><br><br>";
}
alguien sabe como arreglar ese problema?
![lloron](http://static.forosdelweb.com/fdwtheme/images/smilies/chillando.png)