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

2007-05-07 Thread strawks
On ven, 2007-05-04 at 17:51 +0200, Emmanuel Raulo-Kumagai wrote: > I have about the same code except that I use "application/x-zip-archive" > for the content type and it just works. > There's no ob_* stuff in my code also. application/x-zip-archive works (actually anything but application/zip work

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

2007-05-04 Thread Emmanuel Raulo-Kumagai
strawks a écrit : 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 a