Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Aiheen aloitti: Elite_Iso - helmikuu 08, 2005, 02:10:30 IP

Otsikko: attachement files more 1000kb
Kirjoitti: Elite_Iso - helmikuu 08, 2005, 02:10:30 IP
it is you posible to up the file attachements higher than 1024kb and or to do it?
Otsikko: Re: attachement files more 1000kb
Kirjoitti: Oldiesmann - helmikuu 08, 2005, 03:06:46 IP
Yes, as long as your server allows it (usually the max upload size is 2MB, so it shold work).

Admin -> Edit Features and Options

Expand the Attachments section and change "max size per attachment" to whatever you want (make sure that "max attachment size per post" is at least as high as the "max size per attachment" as well).
Otsikko: Re: attachement files more 1000kb
Kirjoitti: bmupton - helmikuu 08, 2005, 04:11:07 IP
Also, I've used the following trick if your server supports rewriting php's rules:

Create a file called .htaccess and place it in your server root, and put the following line in that file:

php_value upload_max_filesize 10M

This will allow you to upload 10 MB files.  (But only if your server supports it)