Jump to content

Upload script


gerkintrigg

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

Archived

This topic is now archived and is closed to further replies.

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