PHP Classes

File: test_barra

Recommend this page to a friend!
  Classes of Pablo   Mi Barra   test_barra   Download  
File: test_barra
Role: Example script
Content type: text/plain
Description: Test file
Class: Mi Barra
Output a progress bar image using PHP GD library
Author: By
Last change:
Date: 19 years ago
Size: 264 bytes
 

Contents

Class file image Download
<?php

   
require("clase_mibarra.php");

    if (
$cop==1) {
       
$oBarra=new MiBarra(200,30,17);
       
$oBarra->Update($actual);
       
$oBarra->Stream();
    }

    for (
$actual=0;$actual<=17;$actual++) {
        echo
"<img border=0 src=test_barra.php?cop=1&actual=$actual><br><br>\n";
    }
?>