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
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
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
"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
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
"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
ot; <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 14, 2003 12:17 PM
Subject: [PHP] calculating kilobytes
> hi
> first of all i think this is a great community here :)
>
> now to the point...
> i need a script. it should work on safe mode php so it sho
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
hi
first of all i think this is a great community here :)
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).
9 matches
Mail list logo