Hi All,

I have installed a file upload feature at:

http://www.silkblooms.co.uk/index.ph...e=testimonials

However, it's proving impossible to limit the maximum file size for the uploads. I've tried three different approaches:

1. admin/configuration/maximum values 2048000 (seems to have zero effect)

2. The php.ini file which comes as part of the upload mod is supposed to limit file size uploads to the user specified size. Here is the content of my php.ini, but again, it's being totally ignored:

PHP Code:
file_uploads On
post_max_size 
2M
upload_max_filesize 
2M
register_globals 
On
error_log 
error_log
error_reporting 
2039
log_errors 
On 
3. I have tried to limit the file upload size using a .htaccess file in the parent directory, one level above the folder where the files are uploaded. Again, it's being totally ignored. Here is the content of my .htaccess file:

PHP Code:
RewriteEngine On
AllowOverride All

AddHandler cgi
-script .php .php3 .php4 .phtml .pl .py .jsp .asp .htm .shtml .sh .cgi
Options 
-Indexes
Options 
-ExecCGI

deny from all
<Files "^\w+\.(gif|jpe?g|png)$">
order deny,allow
allow from all
</Files>

AuthUserFile .htpasswd
AuthGroupFile 
/dev/null
AuthName EnterPassword
AuthType Basic

require user wsabstract

php_value upload_max_filesize 2M

LimitRequestBody 2048000 
Can anyone think why it's still allowing uploads of a greater size than specified?