Hi,
I have a form where my users can upload their files and some description as well. When the upload small files, it works fine, but larger files (about 50M😎 it crashes, it just doesn't work, no error returned. Can anybody help me?
thanks
I think the problem is the time that the upload action takes, because i already changed the file size limit and i know that it is working. Is there any php variable to set the timeout for the file uploading? I changed the size limit changing the .htaccess file, should i change it again? Thanks
Well unless you have a whole lot of disk space on your server with just 20 files you will already have reached 1 gig (well close to it) but this might be of help Common Pitfalls . It could just be dying a slient death.
Try to change post_max_size parameter in the php.ini. This parameter must be higer then upload_max_filesize. I had such problem and it help me, probably it help you too.
post_max_size
upload_max_filesize
bmb_br wrote:I think the problem is the time that the upload action takes, because i already changed the file size limit and i know that it is working. Is there any php variable to set the timeout for the file uploading? I changed the size limit changing the .htaccess file, should i change it again? Thanks
If it's timing out you might want to try set_time_limit ?? http://us2.php.net/manual/en/function.set-time-limit.php
PHPist wrote:Try to change post_max_size parameter in the php.ini. This parameter must be higer then upload_max_filesize. I had such problem and it help me, probably it help you too.
It worked! Thanks!