Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/05/2006, 13:23
Shockly
 
Fecha de Ingreso: agosto-2005
Mensajes: 109
Antigüedad: 21 años, 2 meses
Puntos: 0
http://es2.php.net/manual/es/functio...otal-space.php

aunque a mi me gusta esto:

Código PHP:
    $dir = "/home/domain/public_html/";
    
$du = popen("/usr/bin/du -sk $dir", "r");
    
$res = fgets($du, 256);
    
pclose($du);
    
$res = explode(" ", $res);
    echo 
$res[0] . "<br>";