Jump to content

Recommended Posts

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...

Link to comment
https://forums.phpfreaks.com/topic/205432-upload-script/
Share on other sites

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

Link to comment
https://forums.phpfreaks.com/topic/205432-upload-script/#findComment-1075074
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.