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

 
 

 

disk_total_space

(PHP 4 >= 4.1.0, PHP 5)

disk_total_space -- ディレクトリの全体サイズを返す

説明

float disk_total_space ( string directory)

ディレクトリを含む文字列を指定して下さい。この関数は、ファイルシ ステムまたはディスクパーティションに対応する全体バイト数を返しま す。

例 1. disk_total_space()の例

$df = disk_total_space("/"); // $dfは、"/"で利用可能な全体バイト数

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

disk_free_space()も参照してください。

 
 
 
 
Google
  Web Linuxinfor   
 

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

Document on this page is part of "PHP マニュアル". See Index Page for more info about Authorship and Copyright.

1999-2009 Linuxinfor.com. No rights reserved.