現在の位置: ホーム> 関数カテゴリ一覧> disk_total_space

disk_total_space

ファイルシステムまたはディスクパーティションの合計サイズを返します
名前:disk_total_space
カテゴリ:ファイルシステム
対応言語:php
一言説明:ディレクトリの総ディスク容量を返します。

<span class="token php language-php"><span class="token delimiter important"><?php</span>
<span class="token keyword">echo</span> <span class="token function">disk_total_space</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"c:"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

出力は次のようになります:

 509693888668
類似の関数
  • パスのディレクトリパーツに戻ります dirname

    dirname

    パスのディレクトリパーツに戻ります
  • ファイルポインター位置を巻き戻します rewind

    rewind

    ファイルポインター位置を巻き戻します
  • 指定されたファイル名がディレクトリであるかどうかを判断します is_dir

    is_dir

    指定されたファイル名がディレクトリである
  • 出力ファイル readfile

    readfile

    出力ファイル
  • ファイルまたはシンボル接続に関する情報を提供します lstat

    lstat

    ファイルまたはシンボル接続に関する情報を
  • ファイル許可を取得します fileperms

    fileperms

    ファイル許可を取得します
  • アップロードされたファイルを新しい場所に移動します move_uploaded_file

    move_uploaded_file

    アップロードされたファイルを新しい場所に
  • ファイルにデータを書き込みます file_put_contents

    file_put_contents

    ファイルにデータを書き込みます