From: diana at interhotel dot com Operating system: linux PHP version: 4.3.2 PHP Bug Type: GetImageSize related Bug description: @getimagesize
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 bug report at http://bugs.php.net/?id=23979&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23979&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23979&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23979&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23979&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23979&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23979&r=support Expected behavior: http://bugs.php.net/fix.php?id=23979&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23979&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23979&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23979&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23979&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23979&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23979&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23979&r=gnused