ID: 19436 Updated by: [EMAIL PROTECTED] Reported By: steveh at brendata dot co dot uk -Status: Feedback +Status: No Feedback Bug Type: Zlib Related Operating System: redhat linux 7.3 PHP Version: 4.3.3 New Comment:
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. Previous Comments: ------------------------------------------------------------------------ [2003-09-17 13:48:34] [EMAIL PROTECTED] Does it work without the Zend Optimiser? If the file is still corrupted after turning off Zend Optimiser, can you give us a short self contained example php script (and a file) which shows the error? Thank you! ------------------------------------------------------------------------ [2003-09-17 11:58:11] steveh at brendata dot co dot uk Should also mention that this is with the latest version of the zend optimiser as well. ------------------------------------------------------------------------ [2003-09-17 11:57:26] steveh at brendata dot co dot uk Still a problem with 4.3.3 ------------------------------------------------------------------------ [2003-01-07 07:14:36] steveh at brendata dot co dot uk 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. ------------------------------------------------------------------------ [2002-09-16 08:23:56] steveh at brendata dot co dot uk 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