Quote Originally Posted by darkslayer View Post
solved

change $progress
into
PHP Code: 
            $progress create_function('$download_size, $downloaded, $upload_size, $uploaded','static $sprog = 0;
            @$prog = ceil($downloaded*100/$download_size);
                echo \'<script>$("#'
.$pb.'").progressBar(\'. $prog. \');</script>\';
            '
); 
correct the progress bar and its work on multiple file download.
download first file >> wait until finish (progress bar show) >> finish >>
download second file >> wait until finish (progress bar show) >> finish >> .....


is very nice see the basic of your work , awesome class

now, i ask u permission to use this class for my apps. may i have this?

cehhms@yahoo.com
without the time condition the data transmitted for the progress bar will be huge and will slow down download speed.