ID:               21479
 User updated by:  info at ofek dot com
 Reported By:      info at ofek dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         GetImageSize related
 Operating System: win32 only
 PHP Version:      4.3.2-dev
 Assigned To:      wez
 New Comment:

ok i tried it (unzipped into a new dir and rebooted) and it still
crashes, just with different hex addresses in the GPF message.


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

[2003-02-22 04:59:05] [EMAIL PROTECTED]

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

A number of fixes went into CVS last night; it is quite possible that
this problem is fixed (we've had a good response so far).
Please try a stable snapshot.

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

[2003-02-21 04:26:05] [EMAIL PROTECTED]

Now I can not reproduce this anymore using the given location. (with
latest snapshot)



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

[2003-02-20 01:10:51] info at ofek dot com

i only get the GPF crash, no messages.. i hope you reproduced the same
bug. also since the script in the second comment does crash on my
system. we'll see - just tell me when a dev version is ready.

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

[2003-02-19 23:12:29] [EMAIL PROTECTED]

I finally got around installing PHP to my windows (2k) machine and
could reproduce this crash.

This is the error I get (as expected):
..function.getimagesize: failed to open stream: HTTP request failed!
HTTP/1.1 404 Not Found in...

But it also popups that windows error about '..generated
errors..blabla..'.

It happens only with longer urls it seems. The one in
above comment does not cause the crash for me.

Seems like some oddity with the streams stuff, assigning to Wez. :)



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

[2003-01-22 22:58:12] info at ofek dot com

HOLD IT - I just found out exactly how to reproduce it. please read
carefully.

the code is:
<?php
function ImageExists($url) {
  [EMAIL PROTECTED]($url);
  return $r[2]!=0;
}
echo ImageExists('http://domain/dir1/dir2/dir3/image.gif');
?>

make sure the path:
http://domain/dir1/dir2/dir3/
containts THREE directories after the domain (i.e. 6 forward-slashes
total), and that the PATH physically EXISTS.

AND make sure that the file (in code 'image.gif') DOES NOT exist.

You can test against:
http://economads.com/libaware/_font/title/image.gif

This crashes on my server - running PHP 4.3.0 as CGI with IIS Win2000.


Hope this helps.

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

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/21479

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

Reply via email to