Ver Mensaje Individual
  #3 (permalink)  
Antiguo 09/08/2006, 12:32
Avatar de claudiovega
claudiovega
 
Fecha de Ingreso: octubre-2003
Ubicación: Puerto Montt
Mensajes: 3.667
Antigüedad: 20 años, 6 meses
Puntos: 11
Claro, haces:

Código PHP:
<?php
   $midir
=opendir("nombre_dir");
   while(
$archivo=readdir($midir))
   {
        if(!
is_dir($archivo))
            echo 
"http://localhost/dir/images/$archivo<br>";
   }
?>
http://www.php.net/manual/es/ref.dir.php