Tema: readdir();
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/12/2003, 06:23
fran86
 
Fecha de Ingreso: agosto-2002
Ubicación: Colón - Entre Rios - Argentina
Mensajes: 647
Antigüedad: 21 años, 8 meses
Puntos: 8
Código PHP:
while ($file readdir($handle)) {
    if ( (
$file != ".") && ($file != "..") ) { 
        
// Haces todo lo que sea que hagas; 
    


Tambien podrias usar alguna funcion tipo is_file() dentro del if()
http://www.php.net/is_file

Saluditos!