This is the code just a normal imagecreate function
?php
file://draw1.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);
ImageJPEG($image);
Can some one help me
When i try tu use imagecreate i get an fatal error message (shown below)
br
bFatal error/b: Call to undefined function: imagecreate() in
bc:\website\draw.php/b on line b4/bbr
does any body know why this error accurs.
Thanx
Venomous
--
PHP General Mailing List
2 matches
Mail list logo