disk_total_spaceとは? わかりやすく解説

Weblio 辞書 > コンピュータ > PHP関数リファレンス > disk_total_spaceの意味・解説 

disk_total_space

(PHP 4 >= 4.0.7, PHP 5)
disk_total_space — ディレクトリの全体サイズを返す

説明

float disk_total_space ( string directory )
ディレクトリを含む文字列を指定してください。この関数は、 ファイルシステムまたはディスクパーティションに対応する 全体バイト数を返します。
例 590. disk_total_space() の例
<?php
$df = disk_total_space("/"); // $df は、「/」で利用可能な全体バイト数

// Windows の場合:
disk_total_space("C:");
disk_total_space("D:");
?>


注意: この関数では、 リモートファイル を 使用することはできません。これは、処理されるファイルがサーバの ファイルシステムによりアクセスできる必要があるためです。
disk_free_space() も参照してください。


このページでは「PHP関数リファレンス」からdisk_total_spaceを検索した結果を表示しています。
Weblioに収録されているすべての辞書からdisk_total_spaceを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からdisk_total_space を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「disk_total_space」の関連用語

disk_total_spaceのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



disk_total_spaceのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
PHP Documentation GroupPHP Documentation Group
Copyright © 1997 - 2025 by the PHP Documentation Group.

©2025 GRAS Group, Inc.RSS