At the moment, I have a rather mediocre inexpensive (shared) host (like everything I can afford now), and I want to implement a very basic file upload function on a page. I want to allow uploading files up to 100 MB to the server, but my free host limits PHP_MAX_FILESIZE to 32 MB and POST_FILESIZE to 64 MB.
Is there a way to overcome this without requiring the user to break large files into smaller pieces? Or a JavaScript or Flash-based solution that can somehow redirect parts of a file through various HTTP requests, or bypass the 32 MB limit in some other way?
Or are there any commands that I can try to make that can exceed host restrictions? I have already tried using .htaccess without success. EDIT: also tried ini_set. I think the only way is something like chunking / splitting / multi-streaming or another way to solve the problem of being unable to set higher PHP values.
Any suggestions are greatly appreciated. Thank.
source
share