ID: 11834
Updated by: sterling
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: GD related
Operating system: 
PHP Version: 4.0.5
Assigned To: 
Comments:

That's incorrect code, its:

if (ImageTypes() & IMG_GIF) {



Previous Comments:
---------------------------------------------------------------------------

[2001-07-02 08:32:45] [EMAIL PROTECTED]

Trying:

if (ImageTypes() && IMG_GIF) {
  echo 'GIFS enabled';
  $im = imagecreatefromgif('img.gif');
}

Still works with GD library that does not support GIFS 
producing 'Warning: ImageCreateFromGif: No GIF support in 
this PHP build' - it should not have got that far!


'./configure' '--with-mysql=/usr/local/mysql' 
'--enable-track-vars' '--enable-safe-mode' 
'--with-apxs=/usr/local/apache/bin/apxs' 
'--with-zlib=/usr/local/lib' '--with-gd' 
'--with-gd-dir=/usr' '--with-jpeg-dir=/usr/local' 
'--with-png-dir=/usr/local' '--enable-shared' 
'--with-sablot=/usr/local' 
'--enable-sablot-errors-descriptive' '--with-xml' 
'--no-create' '--no-recursion'

---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11834&edit=2


-- 
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