PHP needs to upload large files in recent projects. I use uploadify flash to upload large files, but it won't work if it is more than 100 MB. Is there any better way to support uploading large files of hundreds of MB or GB?
Reply to discussion (solution)
First try using the built-in php functions. when uploading large files, you should increase the values of memory_limit, max_file_uploads, and post_max_size in php. ini, at least greater than the size of the file to be uploaded.
The recent project needs to upload large files. I use uploadify flash to upload files, but more than 100 M will not work. Is there any better way to support uploading large files of hundreds of MB or GB?
These parameters have been adjusted to a large value.
So what are the problems ??
So what are the problems ??
The problem is that uploadify fails to upload more than 100 MB of files. Have you used uplodify?
The recent project needs to upload large files. I use uploadify flash to upload files, but more than 100 M will not work. Is there any better way to support uploading large files of hundreds of MB or GB? This requirement must be achieved through third-party controls. Uploadify or other jqueyr and flash methods cannot upload files of MB or even dozens of MB.
The recent project needs to upload large files. I use uploadify flash to upload files, but more than 100 M will not work. Is there any better way to support uploading large files of hundreds of MB or GB? You need to use controls to upload large files.
You can check the QQ mailbox, 163 emails, DBank online storage, 115 online storage, 360 online storage, and Baidu online storage. they all use controls. The normal Flash or form method cannot Upload MB files. In addition, due to the unstable network environment, the upload may fail due to a network error during the upload process.
The recent project needs to upload large files. I use uploadify flash to upload files, but more than 100 M will not work. Is there any better way to support uploading large files of hundreds of MB or GB? There is a Web large file Upload breakpoint resume control: http://www.cnblogs.com/xproer/archive/2012/10/26/2741264.html
This control supports resumable Upload of GB files, provides complete development documents, supports MD5 verification of files, and supports batch upload of files.
Supported browsers: Internet Explorer 6, Internet Explorer 7, Internet Explorer 8, and Internet Explorer 9
Maxthon (travel) 1.x, Maxthon (travel) 2.x, ttbrowser, QQ Browser, 360 security browser,
Chrome (Google browser), Maxthon3.x, 360 speed browser 6.x, Firefox
Paste a file to simplify file selection:
File MD5 value calculation progress:
File MD5 value calculated
The server checks whether the same file exists based on MD5.
Resume file transfer
Load the file list from the server
Uploading files
File uploaded
Upload folder
And Discuz! X2 integration-the breakpoint resume control is installed in the background
And Discuz! X2 integration-enable the breakpoint resume control in the background
And Discuz! X2 integration-the background breakpoint resume control is enabled successfully.
And Discuz! X2 integration-frontend posting page
And Discuz! X2 integration-Upload
Sample code for page call:
HTTP breakpoint control and MySQL database demo page (UTF-8)