note 49671 deleted from function.fpassthru by googleguy

From: Date: Tue, 22 Oct 2013 10:14:44 +0000
Subject: note 49671 deleted from function.fpassthru by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-196932@lists.php.net to get a copy of this message
Note Submitter: eamonn at easywebdev.com ---- I was creating an application to download software products in zip, tar.gz and tar.bz2 formats using fpassthru and whilst the downloads functioned the resulting files were all corrupted. I traced this down to zlib.output_compression being turned on. If you exerience this then add ini_set("zlib.output_compression", "Off"); just before you send your headers.

« previous php.notes (#196932) next »