Re: Disk Usage

From: Date: Sun, 23 Sep 2001 02:36:48 +0000
Subject: Re: Disk Usage
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-68386@lists.php.net to get a copy of this message
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" <matt@willetts.com> > Organization: Willetts Systems > Date: Sat, 22 Sep 2001 22:07:26 -0400 > To: "'Scott Poarch'" <scott@globalhost.com>, "'Steve Werby'" > <steve-lists@befriend.com>, <php-general@lists.php.net> > Subject: RE: [PHP] Disk Usage > > $usage = (int)du -sk;

« previous php.general (#68386) next »