ID: 19436 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: No Feedback Bug Type: Zlib Related Operating System: redhat linux 7.3 PHP Version: 4CVS-2002-09-16 New Comment:
This is still happening with php 4.3.0 and zend optimiser 2.0.3, I turned zlib.output_compression=on, tested and the downloaded file (a zip file) was corrupt, set zlib.output_compression=off and then the download worked fine. Previous Comments: ------------------------------------------------------------------------ [2002-10-20 23:25:01] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ [2002-10-05 09:49:20] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip I am unable to replicate the bug, it is more then likely that one of the recent changes in output handling code has resolved this issue. ------------------------------------------------------------------------ [2002-09-16 08:23:56] [EMAIL PROTECTED] When using php to supply data for a file download from a database the resultant file is shortened, switching off output_compression resolves this issue. Had to update to the latest CVS version to fix truncation issues on 4.2.3 of text fields. Using code very similar to that listed on the sybase functions page (search for hex2bin) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19436&edit=1