Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
現在のサーバー ディスク使用量を表示する共有する PHP スクリプトを持っている人はいますか?
ありがとう。
PHPが本当に優れていることの1つは、見つけやすいドキュメントがあることです。
ドキュメントから:
float disk_total_space ( string $directory )
ディレクトリを含む文字列を指定すると、この関数は、対応するファイルシステムまたはディスクパーティションの合計バイト数を返します。