phpbar.de logo

Mailinglisten-Archive

[php] OT: Freien Serverplatz ermitteln

[php] OT: Freien Serverplatz ermitteln

Cyrill Schumacher webmasterbhs_(at)_bluewin.de
Thu, 16 Dec 1999 18:27:21 +0100


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.

Example 1. diskfreespace() example

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

____
Cyrill




php::bar PHP Wiki   -   Listenarchive