[thelist] Problem with PHP images
PHANI KUMAR MACHAVARAPU
m_phani at yahoo.com
Fri Jan 24 02:18:01 CST 2003
Hi,
I am having problem working with PHP images. I tried
the following code on Windows 98 with PWS.
<?php
header("Content-type: image/png");
$im = @ImageCreate(320, 200) or die("Could not create
image");
$bg_color = ImageColorAllocate($im, 240, 240, 240);
$text_color = ImageColorAllocate($im, 0, 0, 0);
ImageString($im, 3, 0, 0, "Hello Images!",
$text_color);
ImagePng($imzz);
?>
I removed comment from php.ini file of the line
extension=php_gd.dll
But I was unable to get the result. Are there any
prerequired configurations to be done? Please, anyone
help me in this regard.
regards,
Phani
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
More information about the thelist
mailing list