Howdy - 2 issues:
1. How do you set the limits of file sizes for each section of allowable file uploads? Sound, video, images, files....
2. After setting up the parameters, how would you inform users what those file requirements are in each section that has a file uploader?
Is this another wish list item?
Cheers - Jethro
|
Hello, you can manage your file upload size via .htaccess file. For example :
php_value upload_max_filesize 20M PS: If possible do not write me personally, please try to ask on the forum first |
Thanks for responding Sasha, however, I did not find any parameters within the htaccess file that would affect file size, including the code you posted. I'm also on 7.0.2 version.
Jethro
|
Thanks for responding Sasha, however, I did not find any parameters within the htaccess file that would affect file size, including the code you posted. I'm also on 7.0.2 version.
Jethro
You're suppose to add it to the .htaccess file.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Unless your server is running suphp.exe and then you need to put it in the php.ini file, otherwise you will have a server error.
Thanks for responding Sasha, however, I did not find any parameters within the htaccess file that would affect file size, including the code you posted. I'm also on 7.0.2 version.
Jethro
You're suppose to add it to the .htaccess file.
There are none so blind as those that will not see. |
Unless your server is running suphp.exe and then you need to put it in the php.ini file, otherwise you will have a server error.
Thanks for responding Sasha, however, I did not find any parameters within the htaccess file that would affect file size, including the code you posted. I'm also on 7.0.2 version.
Jethro
You're suppose to add it to the .htaccess file.
Correct, I should have mentioned that. Thank you. If you need to use a php.ini file, make a new file with the following:
[PHP]
upload_max_filesize=20M
And save it has php.ini (not .txt, just .ini. It cannot be formatted.).
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Excellent! Thanks for the tips guys. Is it possible to limit file sizes by the type of file being uploaded rather than a generic setting for all files? Also, I'd like a message displayed to the user if a file doesn't meet the criteria when trying to upload.
Ultimately, I'd like to give premium members larger file size uploads and storage limits. Not sure what is in the pipeline for Boonex, but I'm sure a module offering this functionality would be greatly welcomed by the community.
|
Size limit is working but what about to display a error message to the user when the file is over the allowed limit?
Thanks
|
How can you limit the number of files a user can upload? thanks! |