PHP-Progressbar - PHP-Klasse für Fortschrittsbalken
Prevent timeouts with this progress bar for PHP
ProgressBar.class.php is an easy to use solution for time consuming operations and loops in PHP.
How the progress bar works
The class increases the timelimit for script-execution (if safe-mode is turned off), prevents a browser-timeout by sending pieces auf the progressbar to the browser and gives the user live-feedback on the progress of the running operation.
How to use the progress bar class
A simple example:
You will find further documentation and examples in the class itself.
Download & License
ProgressBar.class.php is Open Source (MIT-License). Download it for free!
Download PHP-Progressbar 1.2.1
Older Versions:
PHP-Progressbar 1.2
PHP-Progressbar 1.1
Weitere Beiträge, die dich interessieren könnten:
Kommentare
The class is very useful for time consuming loops like the resizing of multiple images or querying a database many times.
Please note that you can’t see the bar progressing when your script is running too fast (which is good actually ;-)). The completed progress bar (”blue strip”) will be displayed in this case because the progressing is already done.
for the 3 element progress, how to make the script progress to show percentage. For example
$bar->increase(); //call for first element and show text 30%
$bar->increase(); //call for second element and show text 60%
$bar->increase(); //call for third element. end of bar… and show text 100%
GJ Dude!
Hatte ne ähnliche Idee für AJAX requests. Klappt auch soweit, stehe aber vor einem kleinen Problem um es schön zu bekommen :)
Würd mich freuen wenn wir uns was austauschen könnten, stell das Dingen auch gern zur Verfügung ;)
[…] Beispiel habe ich ein Plugin für das Script geschrieben, welches auf der Progressbar von Bongard.net beruht. Die Implementation erfolgt recht einfach, wie folgt: Ladet euch die aktuelle version von […]




Hello
I have tried the class, but in the page I see only a blue strip, does not begin some loading. You can give to me some other information
Thanks