Hello all,

Im new to PHP but from what Ive read, PHP 4.3.3 has
GD capability built-in, but, when I run a simple test like:

<?php
// create the image 
$img = ImageCreate(200,200); 
$bg = ImageColorAllocate($img,0,0,0); 
$tx = ImageColorAllocate($img,255,128,128); 
ImageFilledRectangle($img,0,0,200,200,$bg); 
ImageString($img,3,70,90,"it works !",$tx); 
header("content-type: image/jpeg"); 
ImageJPEG($img); 
?>

I get this:
Fatal error: Call to undefined function: imagecreate() 

I would like to know how this works for Windows users.

Thanks

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

Reply via email to