Bug #12763: No GIF support in this PHP build in
| From: | konradkl at packplast dot com dot pl | Date: | Wed, 15 Aug 2001 11:51:27 +0000 |
| Subject: | Bug #12763: No GIF support in this PHP build in | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-63268@lists.php.net to get a copy of this message | ||
From: konradkl@packplast.com.pl
Operating system: WIN NT 4.0 sp 6
PHP version: 4.0.5
PHP Bug Type: GD related
Bug description: No GIF support in this PHP build in
I have iis and instal php 4.0.5
When I run my php flle my ie5 print me:
"ImageGif: No GIF support in this PHP build in "
What is a problem?
Your Konrad
<?
Header ("Content-type: image/gif");
dl("extensions/php_gd.dll");
$img = ImageCreate (250 ,250);
$czarny = Imagecolorallocate($img, 0, 0, 0);
$bialy = Imagecolorallocate($img, 225, 225, 225);
imagefill ($img, 0, 0, $czarny);
imageline ($img, 0, 0, 250, 250, $bialy);
imageline ($img, 250, 0, 0, 250, $bialy);
Imagegif ($img);
imagedestroy ($img);
?>
--
Edit bug report at: http://bugs.php.net/?id=12763&edit=1