Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RWH Other
Author Message
Nomad
Client



Joined: Jan 21, 2006
Posts: 87
Location: Arizona

PostPosted: Tue Apr 11, 2006 5:27 am Reply with quote

Is there a way to limit the max folder size...<br>
For Instance, let say that I create a user upload folder, but I want to limit the total file size to 10 MB (They can have a many files as they want as long as it doesnt exceed 10 MB limit).

.htaccess?
control panel?

_________________
Nomad!~! 
View user's profile Send private message Visit poster's website AIM Address
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Fri Apr 14, 2006 11:09 am Reply with quote

Yes, I believe this can be done with .htaccess (as long as your host allows you to make these overrides). I have seen Gallery do this.

Although I have never myself dealt with this, maybe having the following directives will help you with your research:

php_value post_max_size 20971520
php_value upload_max_filesize 20971520

These came from my Gallery installation on one of my sites.

Your host may or may not allow you to make these php.ini overrides through .htaccess...

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
evaders99
Former Moderator in Good Standing



Joined: Apr 30, 2004
Posts: 3221

PostPosted: Fri Apr 14, 2006 9:05 pm Reply with quote

I believe those are only related to posting and uploading though, not actually restricting how much can be stored in one location

It may be something that your host needs to set up in Apache

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
montego







PostPosted: Sat Apr 15, 2006 9:43 am Reply with quote

Embarassed Bang Head

Yes, you are correct Evaders... my bad... my typing was working faster than my brain. Laughing
 
Nomad







PostPosted: Thu Apr 20, 2006 11:21 pm Reply with quote

Hey, Thanks anyway...

I want to build folders where certain users can upload files, but I dont want them hogging up my servers space. Just give them, lets say 2mb apiece.
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Apr 20, 2006 11:52 pm Reply with quote

You need an upload module with quotas. Is this a specific application or what?
 
View user's profile Send private message
Nomad







PostPosted: Fri Apr 21, 2006 12:03 am Reply with quote

Yes....

I want to allow certain users to upload mp3s to "their" audio player.

The download module I have installed in NSN GR downloads 760

The plan I had was to: make each candidate a folder to upload to. Then have the audio player read from that folder. I would then assign them group upload priveledges to that folder.

The only "upload" module that I could find was uploadit2 but it didnt work to well. It would time out after every time I submitted an upload (buggy). So I left it alone.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RWH Other

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©