ID:               19436
 Comment by:       luis-oliveira at iol dot pt
 Reported By:      steveh at brendata dot co dot uk
 Status:           No Feedback
 Bug Type:         Zlib Related
 Operating System: redhat linux 7.3
 PHP Version:      4.3.3
 New Comment:

I´m experiencing that bug too.

Linux, PHP 4.3.3, no Zend Optimizer.
When using php to supply data for a file download from a database, if
the file to download is a zip file, the downloaded file gets corrupted.
If i switch zlib.output_compression to off in php.ini, the problem no
longer exists.

I guess this could be sorted by detecting a ZIP content-type and
switching zlib.output_compression off dinamically (as it is now being
done for the image type).


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

[2003-09-22 06:49:09] [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.



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

[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.

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

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

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

Reply via email to