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

Posted by Alvaro G. Vicario on 12/17/11 11:56

*** freduchi@gmail.com escribió/wrote (24 Aug 2006 12:47:28 -0700):
> I have read about something disk quotas.I am not
> familiar to this.Would it be useful for my needs?.

I don't think so. Disk quotas allow you to limit the number/size of files a
user can save in a disk partition. But PHP scripts run with the same system
user, no matter who's logged in your app.

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

If I understood correctly, you don't have any control over the database or
the software that creates the files. So you need a solution that makes the
software just fail when over quota... :-?

I can't figure out how to do that. You can always remove images after being
uploaded but that'd be a big mess.

Maybe if you describe how that third party software works we can think of a
sensible solution...

--
-+ http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
++ Mi sitio sobre programación web: http://bits.demogracia.com
+- Mi web de humor con rayos UVA: http://www.demogracia.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

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