#44893 [Fbk]: gzfile() does not load complete file

From: Date: Thu, 30 Oct 2008 17:15:40 +0000
Subject: #44893 [Fbk]: gzfile() does not load complete file
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-130333@lists.php.net to get a copy of this message
ID: 44893 Updated by: jani@php.net Reported By: sworddragon2 at aol dot com Status: Feedback Bug Type: Zlib Related Operating System: Windows XP Professional SP3 PHP Version: 5CVS, 6CVS (2008-10-30) Assigned To: fb-req-jani New Comment: $file=gzopen("smiley1.gz","w"); I think that should also be "wb" under windows.. Previous Comments: ------------------------------------------------------------------------ [2008-10-30 17:14:14] jani@php.net 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] jani@php.net 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] kalle@php.net Im able to re-produce this on Windows XP SP2 using the image you supplied aswell as with other files would return odd strings ------------------------------------------------------------------------ [2008-05-02 21:19:38] sworddragon2 at aol dot com I used this picture for the example: http://img501.imageshack.us/img501/7006/smiley1dr6.gif Maybe it helps you to reproduce the problem. But this was not the only picture with that I can reproduce the problem. ------------------------------------------------------------------------ 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

« previous php.bugs (#130333) next »