Thanks for your help.
I tried to creat image using the following php commands:
<?php
Header("Content-type: image/jpeg");
$im = @ImageCreate (50, 100)
or die ("Cannot Initialize new GD image stream");
$background_color = ImageColorAllocate ($im, 255, 255, 255);
$text_color = ImageColorAllocate ($im, 233, 14, 91);
ImageString ($im, 1, 5, 5, "A Simple Text String", $text_color);
ImageJPEG ($im);
ImageDestroy($im);
?>
I even tried to create image without the “Header("Content-type: image/jpeg");” but it did not work either.
I also tried to insert it to a page as image (ex. <img src='show_image.php'> ) as you suggested but nothing worked.
Could you please explain the GD matter of windows elaborately?
Regards
Zia