Concept of getting dynamic images through Ajax..
by barkkathulla[ Edit ] 2012-09-22 18:38:26
<font color=#000066>
<?php
Header("Content-type: image/png");
$name = $_GET['letter'];
$img_handle = ImageCreate (350, 100) or die ("Cannot Create image");
$back_color = ImageColorAllocate ($img_handle, 50, 50, 50);
$txt_color = ImageColorAllocate ($img_handle, 255, 255, 255);
ImageString ($img_handle, 3, 5, 5, $name, $txt_color);
ImagePng ($img_handle);
?>
</font>