PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Er. Rochak Chauhan   Test On Image   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example File
Class: Test On Image
Render text on image using images of letters
Author: By
Last change: Added a new function to display image in IE
Date: 18 years ago
Size: 364 bytes
 

Contents

Class file image Download
<?php

/**
 * Make random image number check
 * 20050524 by ascent webaq.com
 *
 */

require_once('TestOnImage.inc.php');

$text = "Your text here";

$testOnImage = new TestOnImage($text);
//$testOnImage = new TestOnImage($text, 35, 100, 'bg1.gif');
//$testOnImage = new TestOnImage($text, 20, 400, 'bg2.jpg');
$testOnImage->displayImageIE();
?>