#23979 [Asn]: @getimagesize

From: Date: Tue, 03 Jun 2003 16:18:59 +0000
Subject: #23979 [Asn]: @getimagesize
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-41038@lists.php.net to get a copy of this message
 ID:               23979
 Updated by:       iliaa@php.net
 Reported By:      diana at interhotel dot com
 Status:           Assigned
 Bug Type:         GetImageSize related
 Operating System: linux
 PHP Version:      4.3.2
 Assigned To:      wez
 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[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)

« previous php.bugs (#41038) next »