#25799 [Opn->Bgs]: Problem again with Getimagesize

From: Date: Thu, 09 Oct 2003 10:47:37 +0000
Subject: #25799 [Opn->Bgs]: Problem again with Getimagesize
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-48760@lists.php.net to get a copy of this message
ID: 25799 Updated by: sniper@php.net Reported By: renato at ostorero dot it -Status: Open +Status: Bogus Bug Type: GetImageSize related Operating System: Windows 2003 Server PHP Version: 4.3.3 New Comment: Works fine with latest STABLE CVS snapshot. Previous Comments: ------------------------------------------------------------------------ [2003-10-08 14:29:43] renato at ostorero dot it Description: ------------ I check the bug database and I see that my problem could be the same of Bug #21676. Sometimes Getimagesize doesn't work with external image doesn't return size, type etc ... and freeze the code until the timeout of the web server. In many cases the image was a png file. Reproduce code: --------------- $size = getimagesize("http://www.mysql.com/images/mysql.png"); print_r($size); echo "\n"; Expected result: ---------------- Array ( [0] => 81 [1] => 43 [2] => 3 [3] => width="81" height="43" [bits] => 8 [mime] => image/png ) Actual result: -------------- Nothing. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25799&edit=1

« previous php.bugs (#48760) next »