#23979 [Com]: @getimagesize
ID: 23979
Comment by: diana dot castillo at nvtechnologies dot com
Reported By: diana at interhotel dot com
Status: Assigned
Bug Type: GetImageSize related
Operating System: windows
PHP Version: 4.3.2
Assigned To: wez
New Comment:
I am the one who originally reported this, but I dont remember my
password to comment on it, my original report was with
diana@interhotel.com email.
I found out that there was something I could change in my error
reporting program so that the error would not print out to the screen .
Previous Comments:
------------------------------------------------------------------------
[2003-07-02 23:44:22] nilanjan at unlimitedfx dot com
getimagesize() fails for remote files on PHP 4.3.2 on SunOS - so I
suppose this kind of a problem is not limited to a Win32 platform...
I get the following error:
Warning: getimagesize(http://www.exoticindiaart.com/panels/wb05sm.jpg):
failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
------------------------------------------------------------------------
[2003-06-03 11:18:58] iliaa@php.net
I cannot replicate this Linux and the original report suggests that the
script was executed on Windows. So, it is likely this is a win32 only
bug.
------------------------------------------------------------------------
[2003-06-03 05:37:03] derick@php.net
Sounds like a stream problem, assigning to Wez.
Can you please come up with a short script to reproduce this problem,
without using a database?
------------------------------------------------------------------------
[2003-06-03 05:32:25] diana at interhotel dot com
I use @getimagesize to resize pictures that I get from a url which
comes
from a database which is always changing. The problem is that
sometimes the
url does not contain the picture is is supposed to , and then I get the
following error, I thought this was fixed in version 4.3.2 but I still
get it:
Warning:
getimagesize(http://www.hotelresb2b.com/images/hoteles/P1KYHC022030.JPG):
failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found at
c:\inetpub\wwwroot\web\site\ReservationManager.php line 299.
Warning:
getimagesize(http://www.hotelresb2b.com/planos/PLKYHC022030.GIF):
failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found at
c:\inetpub\wwwroot\web\site\ReservationManager.php line 312.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23979&edit=1
Thread (9 messages)