ID: 11834 User Update by: [EMAIL PROTECTED] Status: Bogus Bug Type: GD related Operating system: Linux Redhat 7.1 2.4.2 PHP Version: 4.0.5 Description: ImageType() && IMG_GIF & GD 1.8.4 Thanks! Previous Comments: --------------------------------------------------------------------------- [2001-07-02 08:43:17] [EMAIL PROTECTED] Oops! RTFM Again! --------------------------------------------------------------------------- [2001-07-02 08:40:39] [EMAIL PROTECTED] User error = bogus --------------------------------------------------------------------------- [2001-07-02 08:36:05] [EMAIL PROTECTED] That's incorrect code, its: if (ImageTypes() & IMG_GIF) { --------------------------------------------------------------------------- [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' --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=11834 -- 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]