![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
23/02/2002, 21:41
|
| | Fecha de Ingreso: enero-2002 Ubicación: Buenos Aires, Argentina
Mensajes: 193
Antigüedad: 23 años, 1 mes Puntos: 0 | |
Re: Que madre... no me funciona!!! <?
$dir= ".";
$abrir = opendir("$dir");
while($fichero=readdir($abrir)){
if($fichero != "." && $fichero != ".." && !is_dir($fichero)){
$size = filesize ($fichero);
$total= $total+$size;
}
}
?>
en la variable $total se encuentra el total de bytes...
espero te sirva, saludos... :) |