Just new at PHP and learning.
Trying to execute simple script to draw a line:
<?php
//draw2.php
Header("Content-type: image/jpeg");
$image = ImageCreate(200,150);
$gray = ImageColorAllocate($image,204,204,204);
$blue = ImageColorAllocate($image,0,0,255);
ImageLine($image,10,10,150,30,$blue);
ImageArc($image,150,65,70,70,0,360,$blue);
ImageJPEG($image);
ImageDestroy($image);
?>

Browser returns:
<br />
<b>Fatal error</b>:  Call to undefined function:  imagecreate() in
<b>c:\inetpub\wwwroot\draw4.php</b> on line <b>4</b><br />
Why is imagcreate() not understoodMarco



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to