Location: PHPKode > projects > DDL CMS > Upload these files to your webspace/text2image.php
<?php

/**********************************************************
*  ______   ______   ___      _______  ___ ___  _______   *
* |   _  \ |   _  \ |   |    |   _   ||   Y   ||   _   |  *
* |.  |   \|.  |   \|.  |    |.  1___||.      ||   1___|  *
* |.  |    |.  |    |.  |___ |.  |___ |. \_/  ||____   |  *
* |:  1    |:  1    |:  1   ||:  1   ||:  |   ||:  1   |  *
* |::.. . /|::.. . /|::.. . ||::.. . ||::.|:. ||::.. . |  *
* `------' `------' `-------'`-------'`--- ---'`-------'  *
*                                _______        _______   *
*                    .--.--.    |   _   |      |       |  *
*                    |  |  |    |___|   |  __  |___|   |  *
*                     \___/      _(__   | |__|  /  ___/   *
*                               |:  1   |      |:  1  \   *
*                               |::.. . |      |::.. . |  *
*                               `-------'      `-------'  *
*                                                         *
*                                   Script: DDLCMS v3.2   *
*                                 Author: Little Dragon   *
*                              Email: hide@address.com   *
*                        Website: http://www.ddlcms.com   *
*                                                         *
*    Please direct bug reports, suggestions or feedback   *
*                                 to the DDLCMS forums:   *
*                                                         *
*                          http://www.ddlcms.com/forums   *
*                                                         *
*    DDLCMS is a commercial grade content management      *
*    system for DDL site owners. It is provided free      *
*    of charge, provided:                                 *
*                                                         *
*    1. You keep the linkback to http://www.ddlcms.com    *
*       in the footer.                                    *
*                                                         *
*    2. You keep the sponsored links to Sharingzone.net   *
*       on your site.                                     *
*                                                         *
*    By using this script, you agree that you will not    *
*    modify, remove, or replace any encoded parts of      *
*    this script. All encoded parts MUST remain intact    *
*    for your site to remain in good standing.            *
*                                                         *
**********************************************************/

	# Developed to convert simple text to image format, without the use of GD Library in PHP
	# Usage: transform("$word");

function transform($word) {

  for ($i = 0; $i < strlen($word); $i++) {
     if ((substr($word, $i, 1)) == ".") {
          echo "<img align=middle src=letters/dot.png>";
     }
     if ((substr($word, $i, 1)) == "_") {
          echo "<img align=middle src=letters/_.png>";
     }
     if ((substr($word, $i, 1)) == "-") {
          echo "<img align=middle src=letters/-.png>";
     }
     if ((substr($word, $i, 1)) == "&") {
          echo "<img align=middle src=letters/and.png>";
     }
     if ((substr($word, $i, 1)) == "@") {
          echo "<img align=middle src=letters/at.png>";
     }
     if ((substr($word, $i, 1)) == "0") {
          echo "<img align=middle src=letters/0.png>";
     }
     if ((substr($word, $i, 1)) == "1") {
          echo "<img align=middle src=letters/1.png>";
     }
     if ((substr($word, $i, 1)) == "2") {
          echo "<img align=middle src=letters/2.png>";
     }
     if ((substr($word, $i, 1)) == "3") {
          echo "<img align=middle src=letters/3.png>";
     }
     if ((substr($word, $i, 1)) == "4") {
          echo "<img align=middle src=letters/4.png>";
     }
     if ((substr($word, $i, 1)) == "5") {
          echo "<img align=middle src=letters/5.png>";
     }
     if ((substr($word, $i, 1)) == "6") {
          echo "<img align=middle src=letters/6.png>";
     }
     if ((substr($word, $i, 1)) == "7") {
          echo "<img align=middle src=letters/7.png>";
     }
     if ((substr($word, $i, 1)) == "8") {
          echo "<img align=middle src=letters/8.png>";
     }
     if ((substr($word, $i, 1)) == "9") {
          echo "<img align=middle src=letters/9.png>";
     }
     if (((substr($word, $i, 1)) == "a") || ((substr($word, $i, 1)) == "A")) {
          echo "<img align=middle src=letters/a.png>";
     }
     if (((substr($word, $i, 1)) == "b") || ((substr($word, $i, 1)) == "B")) {
          echo "<img align=middle src=letters/b.png>";
     }
     if (((substr($word, $i, 1)) == "c") || ((substr($word, $i, 1)) == "C")) {
          echo "<img align=middle src=letters/c.png>";
     }
     if (((substr($word, $i, 1)) == "d") || ((substr($word, $i, 1)) == "D")) {
          echo "<img align=middle src=letters/d.png>";
     }
     if (((substr($word, $i, 1)) == "e") || ((substr($word, $i, 1)) == "E")) {
          echo "<img align=middle src=letters/e.png>";
     }
     if (((substr($word, $i, 1)) == "f") || ((substr($word, $i, 1)) == "F")) {
          echo "<img align=middle src=letters/f.png>";
     }
     if (((substr($word, $i, 1)) == "g") || ((substr($word, $i, 1)) == "G")) {
          echo "<img align=middle src=letters/g.png>";
     }
     if (((substr($word, $i, 1)) == "h") || ((substr($word, $i, 1)) == "H")) {
          echo "<img align=middle src=letters/h.png>";
     }
     if (((substr($word, $i, 1)) == "i") || ((substr($word, $i, 1)) == "I")) {
          echo "<img align=middle src=letters/i.png>";
     }
     if (((substr($word, $i, 1)) == "j") || ((substr($word, $i, 1)) == "J")) {
          echo "<img align=middle src=letters/j.png>";
     }
     if (((substr($word, $i, 1)) == "k") || ((substr($word, $i, 1)) == "K")) {
          echo "<img align=middle src=letters/k.png>";
     }
     if (((substr($word, $i, 1)) == "l") || ((substr($word, $i, 1)) == "L")) {
          echo "<img align=middle src=letters/l.png>";
     }
     if (((substr($word, $i, 1)) == "m") || ((substr($word, $i, 1)) == "M")) {
          echo "<img align=middle src=letters/m.png>";
     }
     if (((substr($word, $i, 1)) == "n") || ((substr($word, $i, 1)) == "N")) {
          echo "<img align=middle src=letters/n.png>";
     }
     if (((substr($word, $i, 1)) == "o") || ((substr($word, $i, 1)) == "O")) {
          echo "<img align=middle src=letters/o.png>";
     }
     if (((substr($word, $i, 1)) == "p") || ((substr($word, $i, 1)) == "P")) {
          echo "<img align=middle src=letters/p.png>";
     }
     if (((substr($word, $i, 1)) == "q") || ((substr($word, $i, 1)) == "Q")) {
          echo "<img align=middle src=letters/q.png>";
     }
     if (((substr($word, $i, 1)) == "r") || ((substr($word, $i, 1)) == "R")) {
          echo "<img align=middle src=letters/r.png>";
     }
     if (((substr($word, $i, 1)) == "s") || ((substr($word, $i, 1)) == "S")) {
          echo "<img align=middle src=letters/s.png>";
     }
     if (((substr($word, $i, 1)) == "t") || ((substr($word, $i, 1)) == "T")) {
          echo "<img align=middle src=letters/t.png>";
     }
     if (((substr($word, $i, 1)) == "u") || ((substr($word, $i, 1)) == "U")) {
          echo "<img align=middle src=letters/u.png>";
     }
     if (((substr($word, $i, 1)) == "v") || ((substr($word, $i, 1)) == "V")) {
          echo "<img align=middle src=letters/v.png>";
     }
     if (((substr($word, $i, 1)) == "w") || ((substr($word, $i, 1)) == "W")) {
          echo "<img align=middle src=letters/w.png>";
     }
     if (((substr($word, $i, 1)) == "x") || ((substr($word, $i, 1)) == "X")) {
          echo "<img align=middle src=letters/x.png>";
     }
     if (((substr($word, $i, 1)) == "y") || ((substr($word, $i, 1)) == "Y")) {
          echo "<img align=middle src=letters/y.png>";
     }
     if (((substr($word, $i, 1)) == "z") || ((substr($word, $i, 1)) == "Z")) {
          echo "<img align=middle src=letters/z.png>";
     }
  }
}
?>
Return current item: DDL CMS