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