note 49671 added to function.fpassthru

From: Date: Fri, 04 Feb 2005 13:18:33 +0000
Subject: note 49671 added to function.fpassthru
Groups: php.notes 
Request: Send a blank email to php-notes+get-84517@lists.php.net to get a copy of this message
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. ---- Manual Page -- http://www.php.net/manual/en/function.fpassthru.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+49671 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49671&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49671&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49671&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49671&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49671&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+49671&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#84517) next »