#37729 [Opn->Fbk]: GetImageSize does not accept an image-url.
| From: | derick@php.net | Date: | Wed, 07 Jun 2006 14:02:43 +0000 |
| Subject: | #37729 [Opn->Fbk]: GetImageSize does not accept an image-url. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-98140@lists.php.net to get a copy of this message | ||
ID: 37729
Updated by: derick@php.net
Reported By: davy at hostyou dot be
-Status: Open
+Status: Feedback
Bug Type: GetImageSize related
Operating System: Win2003
PHP Version: 4.4.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
.
Previous Comments:
------------------------------------------------------------------------
[2006-06-07 13:46:54] 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.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37729&edit=1