You are here: Limit folder (with subfolders) capacity « PHP Programming Language « IT news, forums, messages
Limit folder (with subfolders) capacity

Posted by freduchi on 11/27/48 11:56

Hi, I need sugestions.
I need to implement the next and I don´t know how to do it:

I am developing a website in which users are signed up and share
information(Messages, Photos...).

When a user is signed up, his data is stored in a database and he is
asigned with a folder.

What I need, is to limit the folder capacity of each user to a given
size(5 mb for example).

For now all users would have the same capacity.And that would be
enough for now.

I Can´t limit this by code, because I am using third party software,
in some services, and I cannot control It.

I have read about something disk quotas.I am not
familiar to this.Would it be useful for my needs?.

If not, Which is the best way to achieve this?.

The ideal for me would be to be able to limit the capacity of a given
folder(included subfolders) to a size, so when I create the folder in
my code, I would also limit its size to the desired capacity.

Note: I am using php5 and my hosting uses linux.

Thanks.
Sincerely - SPEASEMAR - Spain
www.speasemar.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация