Smf Hand
Posted in cross stitch on 02/23/2011 09:52 pm by adminI know nothing about .htaccess. Can someone give me a hand?
Basically, this is what I want to do.
I have a forum software on my website, and through the forum, you can attach files to posts. By default on PHP, I can only upload 2mb max, but I need this number to be more.
I was told by my provider, to use .htaccess, put it in the same folder as the script, and add this line to it
php_value upload_max_filesize 5M
and I can put whatever number I want there. Now, there is already an .htaccess file in the forums, and this is how it looks
Order Deny,Allow
Deny from all
Allow from localhost
And I tried to add that line of code I was told to, and it doesn't work, I don't know if I'm putting it in the wrong place. If I could get any help that would be great. By the way, the forum software is SMF.
Have you changed the maximum allowed attachment in the SMF admin panels? I have not had to fool with .htaccess if I use the admin panels to modify the SMF configuration.
If you must fool with the .htaccess file, You might want to try also updating some other related php values.
php_value upload_max_filesize 100M
php_value max_execution_time 800
php_value post_max_size 100M
php_value max_input_time 100
php_value memory_limit 120M
| No items matching your keywords were found. |