Reply to Re: Limit folder (with subfolders) capacity

Your name:

Reply:


Posted by Jerry Stuckle on 12/17/01 11:56

Alvaro G. Vicario wrote:
> *** 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.
>

Actually, you can. You can limit the size of the directory in either
Linux or Windows Server. Any attempt to store more than that in the
directory will return an error.

>
>>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...
>


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[Back to original 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

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