PHP Classes
elePHPant
Icontem

File: sample.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sergey Ivanov  >  ASCII text  >  sample.php  >  Download  
File: sample.php
Role: Example script
Content type: text/plain
Description: Ascii text
Class: ASCII text
Render text using ASCII art fonts
Author: By
Last change:
Date: 8 years ago
Size: 298 bytes
 

Contents

Class file image Download
<PRE>
<?

include_once("ascii.class.php"); // includes the class's file
$text=new ascii("text","dos"); // first parameter is text that will be converted, second is the font style
print $text->asciiText; // asciiText is variable of converted text

?>
</PRE>