uploading files larger than 4mb
Posted on 2004-09-12
I've got a file upload script which seems to work fine for anything under 4mb....But for anything over, it doesn't. I did a bit of searching on the net and found out it may be my webhost server settings....When I type phpinfo, the following relevant values i s what I get..
local value master value
upload_max_filesize 20M 4M
post_max_size 8M 8M
I've added the following lines to the .htaccess file in the upload dir to try to over-ride the server....
php_value max_execution_time 600
php_value upload_max_filesize 20M
php_value post_max_size 20M
But still no files larger than 4mb...Is that upload_max_filesize 4M the culprit? And is there nothing I can do about it?