php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37729 GetImageSize does not accept an image-url.
Submitted: 2006-06-07 13:46 UTC Modified: 2006-06-15 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: davy at hostyou dot be Assigned:
Status: No Feedback Package: GetImageSize related
PHP Version: 4.4.2 OS: Win2003
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: davy at hostyou dot be
New email:
PHP Version: OS:

 

 [2006-06-07 13:46 UTC] davy at hostyou dot be
Description:
------------
GetImageSize doesn't accept an url as an image. Only a relative path.

Reproduce code:
---------------
$picinfo_ar = getImageSize("http://www.mydomain.tld/images/somepic.jpg");

print_r($picinfo_ar);

Expected result:
----------------
an array with picture information.

Actual result:
--------------
If used in a webpage, it stops loading on that point, even with error reporting turned on.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-15 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Nov 17 12:01:34 2019 UTC