From:             [EMAIL PROTECTED]
Operating system: Windows ME
PHP version:      4.0.6
PHP Bug Type:     PHP options/info functions
Bug description:  probleme with the graphics library

Hello,

My configuration: PHP4.06/Apache/Mysql.

When I want launch this script to display a rectangle:

<?php
  Header("Content-type: image/gif");
  $largeur=200;
  $hauteur=100;
  $im = imagecreate($largeur,$hauteur);
  $rouge=imageColorAllocate($im, 255, 0, 0);
  //imagecolortransparent($im,$rouge);
  ImageGif($im);
  ImageDestroy($im);  
?> 

I obtain this error message:
<b>Fatal error</b>:  Call to undefined function:  imagecreate() in <b>c:\program 
files\apache group\apache\htdocs\test.php3</b> on line <b>5</b><br>

could you help me to find Why i meet this problem ?

thanks about your answer.

Christophe








-- 
Edit Bug report at: http://bugs.php.net/?id=11869&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to