note 7722 deleted from ImageCreate by ronabop
| From: | ronabop@php.net | Date: | Sat, 12 Aug 2000 22:14:31 +0000 |
| Subject: | note 7722 deleted from ImageCreate by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1671@lists.php.net to get a copy of this message | ||
Somebody help me!!!!! Please !!! I want to create an image but i see only this error this message
"Fatal error: Call to undefined function: imagecreate() in
/home/users/v/wrymkazz/public_html/php/gif.php3 on line 7"
Here is the file gif.php3
<html>
<head>
</head>
<body>
<?php
$pic=ImageCreate(600,600);
$col1=ImageColorAllocate($pic,200,200,200);
$col2=ImageColorAllocate($pic,0,0,255);
ImageFilledRectangle($pic,1,1,100,100,$col2);
ImagePNG($pic,"pic.png");
ImageDestroy($pic);
?>
<img src="pic.png" border=0>
</body>
</html>
Please help me!!!!