[PHP] Send binary files with gzip encoding disabled

2007-05-04 Thread strawks
Hello, I'm trying to send a ZIP file generated on the fly in a temporary directory. The ZIP file is created successfully and I'm using the following code to send it to the client : $filesize=filesize($path); $mimetype='application/zip'; // Make sure there's not anything else left

Re: [PHP] Send binary files with gzip encoding disabled

2007-05-04 Thread Richard Lynch
On Fri, May 4, 2007 9:56 am, strawks wrote: $filesize=filesize($path); $mimetype='application/zip'; // Make sure there's not anything else left ob_clean_all(); // Start sending headers header(Pragma: public); // required header(Expires: 0);