Re: [PHP] calculating kilobytes

2003-02-15 Thread Jason Sheets
I tend to stay away from executing shell commands when it is not necessary. I've written a script for you that will do what I think you want it to do. It will go n levels deep and get the file size in KB of each file, then it will return that. You can tell the script to ignore certain files (by

Re: [PHP] calculating kilobytes

2003-02-15 Thread Don Read
On 14-Feb-2003 joe wrote: > > "Jason Wong" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> On Saturday 15 February 2003 03:17, joe wrote: >> >> > now to the point... >> > i need a script. it should work on safe mode php so it should be as > simple >> > as po

Re: [PHP] calculating kilobytes

2003-02-15 Thread Tom Rogers
Hi, Saturday, February 15, 2003, 5:17:59 AM, you wrote: j> hi j> first of all i think this is a great community here :) j> now to the point... j> i need a script. it should work on safe mode php so it should be as simple j> as possible. j> it should calculate all the file sizes in the directory t

Re: [PHP] calculating kilobytes

2003-02-15 Thread joe
"Greg Donald" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Fri, 14 Feb 2003, joe wrote: > > >i searched and i tried and i failed. most of the functions dont work in safe > >mode, some didnt do what i wanted (returned the whole drive size instead of > >one

Re: [PHP] calculating kilobytes

2003-02-14 Thread Greg Donald
On Fri, 14 Feb 2003, joe wrote: >i searched and i tried and i failed. most of the functions dont work in safe >mode, some didnt do what i wanted (returned the whole drive size instead of >one directroy) etc. >my head hurts already and i think i am on the verge on nervous breakdown >because i have

Re: [PHP] calculating kilobytes

2003-02-14 Thread joe
"Jason Wong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Saturday 15 February 2003 03:17, joe wrote: > > > now to the point... > > i need a script. it should work on safe mode php so it should be as simple > > as possible. > > it should calculate all the

Re: [PHP] calculating kilobytes

2003-02-14 Thread Jason Wong
On Saturday 15 February 2003 03:17, joe wrote: > now to the point... > i need a script. it should work on safe mode php so it should be as simple > as possible. > it should calculate all the file sizes in the directory that it is in and > in the subdirectories also (only 1 level subdirectories). i