php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26811 Seems to loop when getimagesize(url to gif)
Submitted: 2004-01-06 08:20 UTC Modified: 2004-01-06 17:39 UTC
From: mick at ecreate dot co dot uk Assigned:
Status: Not a bug Package: GetImageSize related
PHP Version: 4.3.4 OS: RH 9
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:
33 + 11 = ?
Subscribe to this entry?

 
 [2004-01-06 08:20 UTC] mick at ecreate dot co dot uk
Description:
------------
1) getimagesize($path_to_jpeg); //works
2) getimagesize($URL_to_jpeg); //works
3) getimagesize($path_to_gif); //works
4) getimagesize($URL_to_gif); //fails 

Seems to loop, then times-out.  Was OK in 4.3.3

Regards,
Mick

Reproduce code:
---------------
$ret = getimagesize ("http://static.php.net/www.php.net/images/php.gif");


Expected result:
----------------
$ret should return array of image sizes and image type.

Actual result:
--------------
Page times-out.  No error message printed.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-06 17:39 UTC] sniper@php.net
Works fine for me with latest CVS snapshot.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 03:01:27 2024 UTC