ID:               23979
 Updated by:       paj...@php.net
 Reported By:      diana at interhotel dot com
-Status:           No Feedback
+Status:           Feedback
 Bug Type:         GetImageSize related
 Operating System: windows
 PHP Version:      4.3.2
 Assigned To:      wez
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/




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

[2009-05-04 18:16:56] cosbat at gmail dot com

Dear all,

  I am using PHP Version 5.2.0-8+etch11 and I am still getting the
following warning:

[function.getimagesize]: failed to open stream: HTTP request failed!
HTTP/1.1 410. 

  I have seen that this bug was under debate for version 4.x of php.

  I would like to mention that I have tested my website both on Windows
XP and on Linux (debian etch with apache 2) and on both environments I
get the same problem.

  Could you please suggest a workaround?

------------------------------------------------------------------------

[2003-07-29 07:25:21] sni...@php.net

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2003-07-24 21:09:36] il...@php.net

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

I should note that when encountering an invalid URL getimagesize() will
print a warning (simular to the one shown in prior reports) and return
false. That is not a bug.
If 404 code is returned and the image is valid there is a possibility
that the webserver doing some sort of filtering filtering (based on http
refer or user agent) that PHP does not pass resulting in a 404 error
code being returned by the webserver.

------------------------------------------------------------------------

[2003-07-03 03:43:27] diana dot castillo at nvtechnologies dot com

I am the one who originally reported this, but I dont remember my
password to comment on it, my original report was with
di...@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 .

------------------------------------------------------------------------

[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

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/23979

-- 
Edit this bug report at http://bugs.php.net/?id=23979&edit=1

Reply via email to