ID: 11834 Comment by: zoo-job894 at hotmail dot com Reported By: jeremy at co-comp dot co dot uk Status: Bogus Bug Type: GD related Operating System: Linux Redhat 7.1 2.4.2 PHP Version: 4.0.5 New Comment:
<a href=http://d-covered-zoo-job-r.da.ru>zoo job</a> Previous Comments: ------------------------------------------------------------------------ [2001-07-02 08:43:48] jeremy at co-comp dot co dot uk Thanks! ------------------------------------------------------------------------ [2001-07-02 08:43:17] jeremy at co-comp dot co dot uk 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] jeremy at co-comp dot co dot uk 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' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=11834&edit=1
