Hi
I am working on a script of image creation by using the function of php.
In that script i just write down the following code.
$myImage = imagecreate(300, 300);
$black = imagecolorallocate($myImage, 0, 0, 0);
$white = imagecolorallocate($myImage, 255, 255, 255);
imagefilledrectangle($myImage, 25, 25, 275, 275, $white)
But when i run this script it display the following error message.
<br />
<b>Fatal error</b>: Call to undefined function: imagecreate() in <b>/home/dinsol/public_html/vikas/test.php</b> on line <b>3</b><br />
Suggestion from any one would be appreciated.
Thanks.
Vikas
----------------
http://www.dinsol.com/

