Upload not working on adding progress bar script in HTML file

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I am creating an app where I need to upload file using HTML input type="f
ile" to a PHP server,when I upload the file to the PHP link without progres
s bar its working fine but when i add progress bar count script using ajaxf
orm its unable to upload the file to the PHP server while this progress bar
 code works fine for this online test server, http://posttestserver.com/pos

I am not getting what is the actual issue as I am not aware of PHP code and
 my friend is not aware of HTML code,my friend is saying there is nothing t
o do from his end as it is working fine without progress bar script. I had  
tried all possible progress bar script available in the web.please help me  
out how to solve it with progress bar count.

Re: Upload not working on adding progress bar script in HTML file

@gmail.com says...
Quoted text here. Click to load it

I could be that your progress bar code is doing too much cpu ... breaking the  
connection. This could be caused per exemple, il you update your progress bar too  
often , let's says each 10 characters :-)
I had this problem .... and i solved it by dividing the amount of bytes by 20. giving  
per exemple 200 Kbytes - So i updated my progress bar each 200 Kbytes. (only 20 bar  
length updates)

Site Timeline