GIF is licensed by Unisys(it is a compuserve format). This is very expensive, so it has been cut out of php. Solution: a) use PNG b) get an old version of php.
regars, Jan Peuker P.S.: In future, please don't post 3 times using courier-extrabig. ----- Original Message ----- From: "zhaoxd" <[EMAIL PROTECTED]> To: "php mailling list" <[EMAIL PROTECTED]> Sent: Friday, April 19, 2002 9:06 AM Subject: [PHP] Why my gd can not work?help please!!! > I have installed gd-1.8.4 in apache server without any problems.To check if the gd can work,I write some codes in php like this: > <? > Header("Content-type: image/gif"); > $im = imagecreate(40,30); > $black = ImageColorAllocate($im, 0,0,0); > $white = ImageColorAllocate($im, 255,255,255); > imageline($im, 1, 1, 350, 25, $black); > imagearc($im, 200, 15, 20, 20, 35, 190, $white1); > imagestring($im, 5, 4, 10, "Graph TEST!!", $white); > ImageGif($im); > ImageDestroy($im); > ?>. > However,the output in IE is the warning message:" <b>Warning</b>: ImageGif: No GIF create support in this PHP build in <b>/usr/local/apache/htdocs/index.php</b> on line <b>9</b><br>".why?? > > when I add comment to the line of ImageGif($im),nothing is displayed,why?? > > ps:my php work very well in this server. > > help,please!! > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php