Hello, I'm currently working on a project that needs to download some large files using a php function i created download($file); it simply download a givenfile to a specific directory on the webserver. How could I make a progressebar to show the real progresse of the download(); function ? please don't tell me to use solutions like : for.{... sleep(x) flush() ...} Code (markup):
You'd need to write some ActionScript for your Flash file. Not done this myself as I don't use Flash but have seen it on some sites.
well, the problem isn't the progressbar itself, the major problem is how do i synchronize between the progressbar and the task being performed.. say i have a function that shown the current percentage and fills the progressebar according to that given percentage something like : showPbar(int percent) once download() is being executed,it fires showPbar(p) to show the %. any suggestion ?