
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.
(__)
`
Thanks Janis,
I will give this a go.
(__)
`
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).