lpxxfaintxx Posted March 17, 2006 Share Posted March 17, 2006 I have an upload system at my site in which users can upload their own files to their own directory. Is there anyway to make it so that the directory doesn't exceed a certain amount of size? I have an idea, quite ghetto. For every file it uploads, it adds how big the file is to the user's table. For example. lets say user HotGuy7 uploads an image 35 KB. His MySQL field gets updated so that it adds 35 KB to the previous number. I'm sure there's an easier way of doing this, please enlighten me ;) Quote Link to comment https://forums.phpfreaks.com/topic/5194-member-size-limit/ Share on other sites More sharing options...
Gaia Posted March 17, 2006 Share Posted March 17, 2006 That would work, i'm not sure if this will help, but try looking up .htaccess commands. Quote Link to comment https://forums.phpfreaks.com/topic/5194-member-size-limit/#findComment-18438 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.