Source for file display_errors.php
Documentation is available at display_errors.php
@include '../../include_path.php';
* Natural Horizontal ProgressBar example with blue skin.
* Display errors only on browser screen with full context
* @version $Id: display_errors.php,v 1.1 2004/04/18 13:25:43 farell Exp $
* @author Laurent Laville <pear@laurent-laville.org>
require_once 'HTML/Progress.php';
$logger['handler']['display'] = array (
'printf' => '<b>%s</b>: %s <br/>'
. '[class="%s" method="%s" file="%s" line="%s"]'
'ereg' => 'in (.*)::(.*) \(file (.*) at line (.*)\)'
$bar = new HTML_Progress ($logger);
$bar->setAnimSpeed ('100');
<title>FileLogger Progress example</title>
<?php echo $bar->getStyle (); ?>
background-color: #EEEEEE;
font-family: Verdana, Arial;
a:visited, a:active, a:link {
<script type="text/javascript">
<?php echo $bar->getScript (); ?>
<h1> <?php echo basename(__FILE__ ); ?></h1>
if ($bar->getPercentComplete () == 1 ) {
break; // the progress bar has reached 100%
<p><< <a href="index.html">Back examples TOC</a></p>
Documentation generated on Mon, 11 Mar 2019 10:15:07 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|