Hi,
I have some data to upload through php and the data could be in zipped or RAR format and file size could be more than 400MB. So i need some good code to work on this with minimum data loose and error.
Could it be possible to upload such a large amount of data through php, if yes then i request to you please suggest some good stuff to use.
PHP can upload as much file size as it can I believe. Your huge problem you will encounter on large file size is your php.ini or .htaccess. I have created my own “YouTube” sort of file uploading where you can only upload videos, but the file size are too large so I get the 413 error.
I’m not sure if it’ll help you, but you need to change the max_upload_size and max_upload_limit, but I’ve tried this and it still doesn’t work. Tried it on .htaccess and it gives me error 500 apache misconfiguration.
It’s not working for me so I stopped building that application for a while now, but I’m certain that someone has gotten it to work. Your issue will probably be php.ini or .htaccess if you have access to either both of them.
Please try to attempt it yourself. Forums are made to help people, not just “Do it all for me” kind of idea. I would like to share my ideas, but you have to attempt it first or else I’m doing your work for you and you won’t know what to do when you encounter another problem. Also, you won’t learn a thing if you make people do your work for you.
I don’t want to sound rude or mean, but that’s how a lot of coding forums will do.