wee_eric Posted September 29, 2008 Share Posted September 29, 2008 Hi I am using Eric Mueller's Zip class to compress files and download them to clients. Some of my clients who are on Mac computers have said that the zip file comes to them corrupted but I don't have a problem on 2000/XP/Vista. Does anyone have any experience of the class with Macs? Quote Link to comment Share on other sites More sharing options...
redarrow Posted September 29, 2008 Share Posted September 29, 2008 Check for the appliction header type is correct........ Quote Link to comment Share on other sites More sharing options...
wee_eric Posted September 29, 2008 Author Share Posted September 29, 2008 Thanks In the download.php that calls the zip class I have header("Content-type: application/octet-stream"); header("Content-disposition: attachment; filename=output.zip"); echo $zip -> file(); Is this correct for a Mac zip file? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.