limit user area



hi all;
can i ask how to limit user to a specified area(e.g. ur email is only 4megabytes which you can not exceed)
thanks all. 8)
You will need to check the size of the directory and compare the result to the limit..
the data are forums' posts added to favs folder of the user. which are exists in the database not in a file in specified directory. do u understand me?!
so how to limit that space occupied by user?!
This will be not so easy...dont you just want to limit it by number of posts?
It would be much easier and the way most of the forums are done..the problem with a space is that someday there will be not anough space to save the current post but another one might be saved because it is smaller... so better use the number of posts to be added to favs or something like that..