|
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
==================
Navigation:
[Reply to this message]
|