I appreciate the help.
I understand the 'du -sk', but what's the "(int)" all about. Are you
suggesting using:
$usage = (int)`du -sk`;
in the PHP code, as in:
chdir($basedir);
$usage = (int)'du -sk';
print("$usage is usage");
?
Thanks,
--
Scott Poarch
http://www.globalhost.com
- - - - - - - - - - - -
> From: "Matthew Loff" <[EMAIL PROTECTED]>
> Organization: Willetts Systems
> Date: Sat, 22 Sep 2001 22:07:26 -0400
> To: "'Scott Poarch'" <[EMAIL PROTECTED]>, "'Steve Werby'"
> <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
> Subject: RE: [PHP] Disk Usage
>
> $usage = (int)`du -sk`;
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]