gerkintrigg Posted June 21, 2010 Share Posted June 21, 2010 I have set up an upload script for a custom cufflink website at: http://customcufflinks.co.uk/product-list/97_Create-your-Own-Rectangle-Cufflinks.html Smaller image uploads work fine, but i want to enable 2 MB files to be uploaded... for some reason it's not doing it. (try it yourself. There's no error displayed and I have updated the .htaccess to this: php_value upload_max_filesize 10M php_value post_max_size 20M php_value memory_limit 70M php_value max_execution_time 500 php_value max_input_time 200 But it still doesn't upload it as it should. Any suggestions? I'm not sure it's a server problem... Quote Link to comment https://forums.phpfreaks.com/topic/205432-upload-script/ Share on other sites More sharing options...
PFMaBiSmAd Posted June 21, 2010 Share Posted June 21, 2010 What does a phpinfo(); statement show for those settings and what is your code for both the form and the form processing code? Edit: And while it is not related to your upload size problem, the page at the URL you posted contains 56 markup errors - http://validator.w3.org/check?uri=http%3A%2F%2Fcustomcufflinks.co.uk%2Fproduct-list%2F97_Create-your-Own-Rectangle-Cufflinks.html&charset=%28detect+automatically%29&doctype=Inline&group=0&ss=1 Quote Link to comment https://forums.phpfreaks.com/topic/205432-upload-script/#findComment-1075074 Share on other sites More sharing options...
gerkintrigg Posted June 21, 2010 Author Share Posted June 21, 2010 phpinfo() says: max_execution_time local: 500 - master: 30 max_input_time local: 200 - master: 60 post_max_size local: 20M - master: 8M memory_limit local: 70M - master: 32M upload_max_filesize local: 10M - master: 2M Quote Link to comment https://forums.phpfreaks.com/topic/205432-upload-script/#findComment-1075121 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.