Good day!
In my system ,every user has a directory,and i want to limit the user's directory's size,for example:the limited size is 10M ,when user upload a file ,if his or her directory size is over 10M,he can not upload file sucessfully.
Please give me a advise.
In my system ,every user has a directory,and i want to limit the user's directory's size,for example:the limited size is 10M ,when user upload a file ,if his or her directory size is over 10M,he can not upload file sucessfully.
Please give me a advise.
Re: how to check the upload directory's size?
Add it to your config.php and check the size of the userdirectory within CheckAuthentication().