Help me ZIP up!

Posted: 10th Dec 2007, in: Help - Older Post - Newer Post

Full Document Folder

If you have used my Fun With Plugins WordPress plugin generator tool recently you may have noticed that it now produces two different files if you want them both: The plugin file and the read me file.

You might also have noticed that instead of providing a nice handy downloadable ZIP file with folder structures that you just need to download you need to set up the folder structure yourself.

There is a reason for this.

Since I first started developing it I have been looking for a good PHP zip solution. Unfortunately no matter where I look I just can’t find one that will open natively in Windows XP. That’s fine if you use something else, but with 79% of site visitors using Windows I just can’t assume they are all using non-native applications.

That’s why I am writing this plea.

I really think that to take it further I need a good PHP ZIP solution that produces ZIP files purely dynamically, i.e. doesn’t rely on there being a physical file on the server but I have hit a dead end.

Any suggestions are welcome.

 

Comments

  1. 1

    Janis Elsts (http://w-shadow.com/) commented at 5:38 pm, 11th 12 2007:

    How about this simple class? I’ve used it in one small project of mine, and it can produce ZIPs dynamically. The generated file also works on WinXP (at least for me).

     
  2. 2

    Andrew Rickmann (http://www.arickmann.co.uk) commented at 6:17 pm, 11th 12 2007:

    Thanks Janis,

    I will give this a go.

     

Leave a Reply

I am currently testing a comment link policy which means commenters do not get a link. There is a poll, and open comments for feedback on the comment policy page.

Please note. I am currently using an experimental antispam technique on this blog. If you run into problems please let me know using the Get in Touch link at the top of the page. Thanks, Andy.

Subscribe without commenting

Feed Icon - Get fed with RSS