| 
<?php
 include_once 'class.php';
 
 $buff = new ScriptProgress();
 do {
 // iterate each 0.15 sec and print an indicator char until max. iter.
 if ($buff->getIteration() < $buff->getMax()) {
 $buff->next();
 } else {
 echo sprintf("<pre>%s</pre>", print_r($_SERVER, true));
 break;
 }
 } while (true);
 
 |