Forum Moderators: coopster

Message Too Old, No Replies

PHP> Making Zips on the fly.problem

         

VegasRook

6:18 am on Nov 14, 2005 (gmt 0)

10+ Year Member



Hi all,

I have a class I am using to make zips on the fly in PHP. The zips work fine in windows, but won't unzip on MACs. I have tried a couple different classes and wonder if anyone has any ideas?

I need to be able to make something that mac users can get their information in.

Thanks

coopster

2:20 pm on Nov 14, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Are you saying you can't save it to disk first and then open it on your MAC? Or your MAC's browser is not opening it? Try saving it to disk first to determine whether or not it is the file archive itself or HTTP headers that are the issu.

VegasRook

4:54 pm on Nov 14, 2005 (gmt 0)

10+ Year Member



The zip is saved on the server and it is FTPed down. I can unzip it on Windows, but on a Mac, it gives an error.

I have tried a few different PHP classes.

jezra

5:52 pm on Nov 14, 2005 (gmt 0)

10+ Year Member



What is the error that you receive on the Macintosh and what program is giving you the error? And lastly, what OS are you testing this on?

VegasRook

1:30 am on Nov 15, 2005 (gmt 0)

10+ Year Member



I got it all set. I tried yet another zip class and this one works on both Macs and Windows.

:D