PHP Classes

File: display4.php

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

Contents

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

$rand_number = rand(32441234,99875432);
$counter = new DigiDisplayer($rand_number,"strip02.gif",10);
$img = $counter->draw_digit();

$border = new FrameMaker();
$border->set_image($img);
$border->set_border(12,"938348","sunken");
$border->show_picture();

?>