diskfreespace

(PHP3 >= 3.0.7, PHP4 >= 4.0b4)

diskfreespace -- Return available space in directory

Description

float diskfreespace (string directory)

Given a string containing a directory, this function will return the number of bytes available on the corresponding disk.

Példa 1. diskfreespace() example

  1 
  2 $df = diskfreespace("/"); // $df contains the number of bytes 
  3                           // available on "/"
  4