PHP Classes

File: sample.php

Recommend this page to a friend!
  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: 15 years ago
Size: 298 bytes


Class file image Download

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