Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

disk_total_space

(PHP 4 >= 4.1.0, PHP 5)

disk_total_space -- Restituisce lo spazio totale di una directory

Descrizione

float disk_total_space ( string directory)

Data una stringa contenente una directory, questa funzione restituirā il numero totale di byte del filesystem o della partizione corrispondente.

Esempio 1. disk_total_space() example

// $df contiene il numero totale di byte disponibile su "/"
$df = disk_total_space("/");

// Su Windows:
disk_total_space("C:");
disk_total_space("D:");
?>

Nota: Questa funzione non č eseguibile con file remoti, ma con file accessibili attraverso il filesystem del server.

Vedere anche disk_free_space()

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "Manuale PHP". See Index Page for more info about Authorship and Copyright.

1999-2009 Linuxinfor.com. No rights reserved.