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
 [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-2019 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 06:01:26 2019 UTC