PHP Classes

File: hiero.php

Recommend this page to a friend!
  Classes of Khaled Al-Shamaa   Hiero   hiero.php   Download  
File: hiero.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Hiero
Translate word into Egyptian hieroglyphics
Author: By
Last change:
Date: 17 years ago
Size: 202 bytes
 

Contents

Class file image Download
<?php
   
include('Hiero.class.php');
   
$x = new Hiero();
   
   
$word = $_GET['w'];
   
$im = $x->en2hiero($word);
   
   
header ("Content-type: image/jpeg");
   
imagejpeg($im, '', 80);
   
ImageDestroy($im);
?>