Ver Mensaje Individual
  #19 (permalink)  
Antiguo 10/11/2008, 12:31
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Respuesta: diferencia en arrays

O en dado caso un poco más oop:
Código php:
Ver original
  1. $files = array();
  2. foreach(new DirectoryIterator('videos') as $file) {
  3.      if(!($file->isDot() || $file->isDir())) {
  4.             $files[] = $file->getFilename();
  5.      }
  6. }

Saludos.