Re: diskusage
| From: | David Otton | Date: | Mon, 16 Feb 2004 21:04:04 +0000 |
| Subject: | Re: diskusage | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-177859@lists.php.net to get a copy of this message | ||
On Mon, 16 Feb 2004 15:17:52 -0500, you wrote:
>Chakravarthy Cuddapah wrote:
>> In php I want to know space used (du) by user on a remote system. Can
>> anyone pls tell me how this can be done.
>
>Just call du through exec().
He said "remote system", which I read to mean "on the client"[?]. In that
case, it can't be done. Security.
http://uk2.php.net/manual/en/function.disk-free-space.php
will give you disc free space in a portable way (PHP => 4.1).