This paper mainly introduces the THINKPHP5 integrated Webuploader package into the upload components of the example, to provide you with reference. We hope to help you.
Webuploader is a simple HTML5-based, flash-supplemented modern file upload component developed by the Baidu Webfe (FEX) team. In the modern browser can give full play to the advantages of HTML5, while not abandoning the mainstream Internet Explorer, the original Flash runtime, compatible with Ie6+,ios 6+, Android 4+. Two sets of runtime, the same call mode, can be used by the user arbitrary choice. Using large file fragment concurrent upload, greatly improve the efficiency of file upload.
Recently many browser upgrade fully support HTML5, and disable the flash, many upload plug-ins need to use flash, such as our project used in the Uploadify, in the latest Google Firefox browsing is not compatible, finally took the webuploader substitution, feel very good, and compatible with HTML5 and flash upload, but also support large file multipart upload, interested friends can continue to optimize the improvement. Let's take a look at the results.
Related recommendations:
Detailed thinkphp how to implement generate and verify verification code
THINKPHP5 uploading images and generating thumbnail image methods
Walkthrough THINKPHP5 URL and Routing features