<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.filesystem.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.disk-total-space.php',
    1 => 'disk_total_space',
    2 => 'Restituisce lo spazio totale di una directory',
  ),
  'up' => 
  array (
    0 => 'ref.filesystem.php',
    1 => 'Filesystem Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.disk-free-space.php',
    1 => 'disk_free_space',
  ),
  'next' => 
  array (
    0 => 'function.diskfreespace.php',
    1 => 'diskfreespace',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'it',
    'path' => 'reference/filesystem/functions/disk-total-space.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.disk-total-space" class="refentry">
   <div class="refnamediv">
    <h1 class="refname">disk_total_space</h1>
    <p class="verinfo">(PHP 4 &gt;= 4.1.0, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">disk_total_space</span> &mdash; <span class="dc-title">Restituisce lo spazio totale di una directory</span></p>

   </div>
   <div class="refsect1 unknown-544" id="refsect1-function.disk-total-space-unknown-544">
    <h3 class="title">Descrizione</h3>
     <div class="methodsynopsis dc-description">
      <span class="methodname"><strong>disk_total_space</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$directory</code></span>): <span class="type"><a href="language.types.float.php" class="type float">float</a></span></div>

    <p class="para rdfs-comment">
     Data una stringa contenente una directory, questa funzione restituirà
     il numero totale di byte del filesystem o della 
     partizione corrispondente.
    </p>
    <p class="para">
     <div class="example" id="example-1">
      <p><strong>Example #1 <span class="function"><strong>disk_total_space()</strong></span> example</strong></p>
      <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">// $df contiene il numero totale di byte disponibile su "/"<br />$df = disk_total_space("/"); <br /><br />// Su Windows:<br />disk_total_space("C:");<br />disk_total_space("D:");<br />?&gt;</span></code></div>
      </div>

     </div>
    </p>

    <blockquote class="note"><p><strong class="note">Nota</strong>: <span class="simpara">Questa funzione non opererà su
<a href="features.remote-files.php" class="link">file remoti</a> perché il file che
deve essere esaminato deve essere accessibile attraverso il filesysmte del server.</span></p></blockquote>

    <p class="simpara">
     Vedere anche <span class="function"><a href="function.disk-free-space.php" class="function">disk_free_space()</a></span>
    </p>
   </div>

  </div><?php manual_footer($setup); ?>