Home  >  Article  >  Backend Development  >  javascript - PHP + JS implement file upload with progress bar or digital progress

javascript - PHP + JS implement file upload with progress bar or digital progress

WBOY
WBOYOriginal
2016-09-28 08:54:111166browse

php is the backend, and it works with js plug-ins to upload files. Are there any good plug-ins? Can any of the experts recommend one?

Second question: If I cannot operate the server, can I get the progress of files uploaded to the server? ?

Reply content:

php is the backend, and it works with js plug-ins to upload files. Are there any good plug-ins? Can any of the experts recommend one?

Second question: If I cannot operate the server, can I get the progress of files uploaded to the server? ?

jquery file upload

Detailed explanation of the use of jQuery upload plug-in Uploadify, reference provided:
http://fwhyy.com/2010/01/jque...

There are two methods for uploading and progress bar.
Upload, most controls can implement
Progress bar. Once the long upload starts, a corresponding temporary file will be generated. We can get the size of the file by accessing the file, and then divide it to get the percentage progress. This requires html5 monitoring.
http://danielm.herokuapp.com/...

You can use this. https://git.oschina.net/black...

Baiduwebupload is born to solve your needs,

  • You can use any image or style for the upload button

  • You can specify the upload type, for example, after specifying MP4/MP3, only MP4/MP3 files will be displayed in the opened file window

  • Supports JPG image compression (compress to specified size before uploading), image preview

  • Automatically adapt to select HTML5 and SWF controls for upload

  • Can upload multiple files at the same time (including progress bar)

  • MD5 verification, and with the background, files can be transferred in seconds

  • Show upload progress

  • Upload large files in chunks

  • Excellent file management mechanism and numerous upload events

  • For more advantages, please click:

http://fex.baidu.com/webuploa...

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn