php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25799 Problem again with Getimagesize
Submitted: 2003-10-08 14:29 UTC Modified: 2003-10-09 06:47 UTC
From: renato at ostorero dot it Assigned:
Status: Not a bug Package: GetImageSize related
PHP Version: 4.3.3 OS: Windows 2003 Server
Private report: No CVE-ID: None
 [2003-10-08 14:29 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-09 06:47 UTC] sniper@php.net
Works fine with latest STABLE CVS snapshot.

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 14:01:25 2019 UTC