ID: 14579 Updated by: sander Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: GD related Operating System: RedHat6.2 PHP Version: 4.1.0 New Comment:
Remove the @ before ImageTypes. Does it print a error now? Previous Comments: ------------------------------------------------------------------------ [2001-12-18 09:39:49] [EMAIL PROTECTED] gd1.3/PHP4.1.0 [...] $im_types = @ImageTypes(); if(empty($im_types)) { echo "Error"; } else { if($im_types & IMG_JPG) { [...] -> Error is echoed. php_info() says: GD support enabled GD version between 1.3 and 1.6.1 GIF Read Support enabled GIF Create Support enabled The same script with PHP4.0.3pl1 and PHP4.0.6 acts as expected. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14579&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]