0

I am using the Document Management System which is created on KnowledgeTree frame work. I want to know the size of each folder created on it. I tried to get the size through server but the files are in non readable format. Is there any possible way to know the file size. Thanks in advance.

Akhil
  • 967
  • 1
  • 7
  • 14
  • What does that mean, the files are in non readable format? Certainly the server knows how to read and handle them, otherwise there would be no way to use that document management system. – arkascha Oct 23 '13 at 07:59
  • [`filesize()`](http://php.net/manual/ro/function.filesize.php) is implemented such that it will only fail if the user-access to that file is restricted for apache/php. Non readable formats make no difference because linux won't be reading the content, just checking the amout of storage space it takes up. – Mihai Stancu Oct 23 '13 at 08:12

0 Answers0