#33819 [Opn->Bgs]: GetImageSize return nothing

From: Date: Fri, 22 Jul 2005 14:44:29 +0000
Subject: #33819 [Opn->Bgs]: GetImageSize return nothing
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-82325@lists.php.net to get a copy of this message
ID: 33819 Updated by: tony2001@php.net Reported By: scrazy77 at gmail dot com -Status: Open +Status: Bogus Bug Type: GetImageSize related Operating System: Gentoo Linux PHP Version: 4.4.0 New Comment: getimagesize() returns FALSE, use var_dump() to see it. And your image is broken - it has some extraneous bytes in the beginning. Previous Comments: ------------------------------------------------------------------------ [2005-07-22 13:37:04] scrazy77 at gmail dot com Description: ------------ Getimagesize return nothing when detect some image file. <?php $sURL = "http://blog.yam.com/pescado/2f940406.jpg"; print_r(getimagesize($sURL)); ?> Reproduce code: --------------- <?php $sURL = "http://blog.yam.com/pescado/2f940406.jpg"; print_r(getimagesize($sURL)); ?> Expected result: ---------------- Array ( [0] => xxx [1] => yyy [2] => 2 [3] => width="500" height="354" [bits] => 8 [channels] => 3 [mime] => image/jpeg ) Actual result: -------------- nothing ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33819&edit=1

« previous php.bugs (#82325) next »