PHP Classes

File: test3.php

Recommend this page to a friend!
  Classes of Huda M Elmatsani   DigiDisplayer   test3.php   Download  
File: test3.php
Role: Example script
Content type: text/plain
Description: sample 3
Class: DigiDisplayer
Generate graphic images representing number digits
Author: By
Last change: call class FrameMaker to add border
Date: 19 years ago
Size: 319 bytes
 

Contents

Class file image Download
<?
include("digidisplayer.php");
include(
"framemaker.php");

$rand_number = rand(32441234,99875432);
$counter = new DigiDisplayer($rand_number,'strip03.gif');
$img = $counter->draw_digit();

$border = new FrameMaker();
$border->set_image($img);
$border->set_border(2,"CCCCCC");
$border->show_picture();

?>