Progress Bar when file upload |
[eluser]yannyannyann[/eluser]
Hello I have a jquery ajax upload system that works well. However as I am uploading big files I would like to display a progress bar, or a simple percentage value, for the user to see that the upload didn't crash. How could I implement that in my code ? Code: jQuery("#addVideoForm").validate({
[eluser]Colin Williams[/eluser]
You essentially need to iteratively monitor the size of the uploading file on the server file system and compare it to the total size of the file.
[eluser]TheFuzzy0ne[/eluser]
To my understanding, this takes special configuration of the server, using the apc_fetch() or uploadprogress_get_info() functions available in the PECL extension.
[eluser]pistolPete[/eluser]
You could use a flash based uploader, e.g. swfupload.org. |
Welcome Guest, Not a member yet? Register Sign In |