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? Link to comment https://forums.phpfreaks.com/topic/126300-zip-class-problem/ 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........ Link to comment https://forums.phpfreaks.com/topic/126300-zip-class-problem/#findComment-653100 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? Link to comment https://forums.phpfreaks.com/topic/126300-zip-class-problem/#findComment-653130 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.