Re: [PHP] Directory Size

2003-08-15 Thread Chris Blake
On Fri, 2003-08-15 at 12:36, Marek Kilimajer wrote: > Are you sure it hangs? It might take a long time to get occupied size. > This also depends on the filesystem used, I heard reserfs is best at this. > Well, I thought it was hanging cuz 15 mins went past without any return...then I figured it h

Re: [PHP] Directory Size

2003-08-15 Thread Marek Kilimajer
Are you sure it hangs? It might take a long time to get occupied size. This also depends on the filesystem used, I heard reserfs is best at this. Chris Blake wrote: Greetings learned PHP(eople); Is there a way to calculate the size of directory in PHP ? I searched php.net and only found ways of

[PHP] Directory Size

2003-08-15 Thread Chris Blake
Greetings learned PHP(eople); Is there a way to calculate the size of directory in PHP ? I searched php.net and only found ways of opening directories and reading file sizes One suggestion on there was to do the following : $mstrng = shell_exec('du -sc /backup/'); echo '' . $mstrng . ''; W

Re: [PHP] directory size?

2003-04-03 Thread Ernest E Vogelsinger
At 00:40 04.04.2003, Mantas Kriauciunas said: [snip] >Hey >I looked up in the manual but found only >Disk_total_space >Disk_free_space > >Is there anything like total_space for directory? >Or I will have to think of something else? >Like counting every file

[PHP] directory size?

2003-04-03 Thread Mantas Kriauciunas
Hey I looked up in the manual but found only Disk_total_space Disk_free_space Is there anything like total_space for directory? Or I will have to think of something else? Like counting every file size and adding it to total. But if there is like 1000 files with directories in the main directory.

Re: [PHP] Directory size

2003-02-11 Thread Jeff Pauls
Jeff - Original Message - From: "Marek Kilimajer" <[EMAIL PROTECTED]> To: "Antti" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 4:37 AM Subject: Re: [PHP] Directory size > there is no php function for this, you can us

Re: [PHP] Directory size

2003-02-03 Thread Marek Kilimajer
there is no php function for this, you can use unix command du or do it in a loop Antti wrote: How do I get the directory size? Suppose there is a function for this. antti -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Directory size

2003-02-02 Thread Antti
How do I get the directory size? Suppose there is a function for this. antti -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Directory Size Calculation...trying again!

2002-03-05 Thread Simon H
Tried this earlier but have had no takersis it a no go? Please read on. Hello! I hope someone can help me with this...it's doin' my head in! Below I have a class I found for finding out directory sizes. What I have done is to get the username of each user and their create a directory pat

[PHP] Directory Size

2002-03-05 Thread Simon H
Hello! I hope someone can help me with this...it's doin' my head in! Below I have a class I found for finding out directory sizes. What I have done is to get the username of each user and their create a directory path (based on their username - these directories do exist with subdirs). This w