PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   This topic is locked: you cannot edit posts or make replies.
Author Message
Nomad
Client


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

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

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?
View user's profile Send private message Visit poster's website AIM Address
montego
Site Admin


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

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

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...
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 Back to top

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
View user's profile Send private message Visit poster's website
montego
Site Admin


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

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

Embarassed Bang Head

Yes, you are correct Evaders... my bad... my typing was working faster than my brain. Laughing
View user's profile Send private message Visit poster's website
Nomad
Client


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

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

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.
View user's profile Send private message Visit poster's website AIM Address
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16986
Location: Kansas

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

You need an upload module with quotas. Is this a specific application or what?
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Nomad
Client


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

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

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.
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:       
Post new topic   This topic is locked: you cannot edit posts or make replies.

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum