Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/06/2007, 14:52
Avatar de TolerantX
TolerantX
 
Fecha de Ingreso: marzo-2006
Ubicación: Guadalajara, México.
Mensajes: 408
Antigüedad: 18 años, 1 mes
Puntos: 10
Re: Mostrar archivos subidos en una tabla

Código PHP:
echo "<table>";
$dir "la_ruta_de_tus_archivos/";
if (
is_dir($dir)) {
    if (
$gd opendir($dir)) {
        while ((
$archivo readdir($gd)) !== false) {
            if ((
$archivo != ".") && ($archivo != "..")){
                  echo 
"<tr><td>".$archivo."</td></tr>";
            } 
// end if (($archivo != ".") && ($archivo != "..")){
           
}
           
closedir($gd);
       }
}
echo 
"</table>"
Algo así puede servirte, tu acomodalo a tus necesidades.
__________________
TolerantX
http://tolerantx.com
Linux User #385226