Adding unobtrusive progress bar to old-school file uploads

后端 未结 6 2078
遥遥无期
遥遥无期 2020-12-13 07:02

You all know the new generation of fancy, mostly Flash-based file uploaders like SWFUpload that can show a progress bar while uploading - a great improvement especially for

6条回答
  •  天命终不由人
    2020-12-13 07:45

    If you use PHP 5.2 and up this file upload progress tutorial by IBM can help you.

    This multiple file upload tutorial uses jQuery + AJAX Upload... It uses $_FILES on the server side and will transform a special

    on the client side to make a
    . I guess you could tweak it to fit your needs.

    If tweaking the last one is too tricky, Uber-Uploader on SourceForge is another option.

    There are dozens of open source project covering this topic. Unfortunately this is not something trivial to implement seamlessly (at least in the way you want - otherwise we would have saw this in the good old Netscape days already).

    On the bright side, HTML5 will ease this as you can see in this demo and this one.

    I hope this helps and good luck with you integration.

提交回复
热议问题