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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
18 - 13 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 23:01:27 2024 UTC