ID:               44893
 User updated by:  sworddragon2 at aol dot com
 Reported By:      sworddragon2 at aol dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Zlib Related
 Operating System: Windows XP Professional SP3
 PHP Version:      5CVS, 6CVS (2008-10-30)
 Assigned To:      fb-req-jani
 New Comment:

I tried it with wb, but it doesn't help.

The problem is, that gzfile stops the read process after 7/132 byte.
The read process is breaking after gzfile reads the ETB (End
Transmission Block), which is the seventh char of this picture.


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

[2008-10-30 17:15:40] [EMAIL PROTECTED]

$file=gzopen("smiley1.gz","w");

I think that should also be "wb" under windows..

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

[2008-10-30 17:14:14] [EMAIL PROTECTED]

What actually is the bug here? You're concatenating same image in same
file and expect..what?

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

[2008-10-29 17:29:49] sworddragon2 at aol dot com

I tested it with the 5.2.7RC2-dev and the 5.3.0alpha3-dev from your
link, but the bug isn't fixed. In both versions, Firefox 3.0.3 gives me
an output of:

Array
(
    [0] => GIF89a
)

It breaks again after the End Transmission Block. I used the same
picture again.

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

[2008-10-28 13:23:48] [EMAIL PROTECTED]

Please try using this CVS snapshot:

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

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



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

[2008-05-06 11:08:43] [EMAIL PROTECTED]

Im able to re-produce this on Windows XP SP2 using the image you
supplied aswell as with other files would return odd strings

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

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

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

Reply via email to