<head> <title>getString example</title> <style type="text/css"> <!-- <?php echo $bar->getStyle(); ?> // --> </style> <script type="text/javascript"> <!-- <?php echo $bar->getScript(); ?> //--> </script> </head> <body> <?php echo $bar->toHtml(); $val = $bar->getValue(); $msg = " installing package ({$val} %) ... : Config"; $bar->setString($msg); $bar->display(); echo '<h1>Progress Meter Custom String</h1>'; print $bar->getString(); ?> </body> </html>