No luck
I have installed GD lib and zlib and all into c:\php\extensions bur i still
get an error

<br />
<b>Fatal error</b>:  Call to undefined function:  imagecreate() in
<b>c:\inetpub\wwwroot\image.php</b> on line <b>24</b><br />
image.php code :<?  /* Header( "Content-type: image/jpeg");  */Header(
"Content-type: image/gif");/* create image */$image = imagecreate(200,200);
/* create color R=100, G=0, R=0 */$maroon =
ImageColorAllocate($image,100,0,0); /*  create color R=255, G=255, R=255
*/$white = ImageColorAllocate($image,255,255,255); /*  create color green
*/$green = ImageColorAllocate($image,0,100,0); /*  create white
background*/ImageFilledRectangle($image,0,0,200,200,$white); /*  create
frame*/ImageRectangle($image,10,10,190,190,$maroon); /*  create inner
rectangle*/ImageFilledRectangle($image,50,70,150,150,$maroon); /* display 5
fonts */for ($i=1; $i <= 5; $i++)
ImageString($image,$i,15,$i*10,'',$green); /*  render image
*//* ImageJPEG($image); */ImageGIF($image);/*cleanup memory
*/ImageDestroy($image); ?>

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to