View previous topic :: View next topic |
Author |
Message |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat Oct 08, 2005 8:29 pm Post subject: Zipping files on the fly |
|
|
Im not sure if anyone knows how to do this but i would like to zip files on my server on the fly but I dont know the PHP command to do this.
I would also like to password protect the files i create with this method.
Can you do this with whole folders or does it have to be seperate files selected to be put into the zip file?
Any help or code snippets are appriciated. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Sat Oct 08, 2005 8:39 pm Post subject: Re: Zipping files on the fly |
|
|
The Inquisitor wrote: | Im not sure if anyone knows how to do this but i would like to zip files on my server on the fly but I dont know the PHP command to do this.
I would also like to password protect the files i create with this method.
Can you do this with whole folders or does it have to be seperate files selected to be put into the zip file?
Any help or code snippets are appriciated. |
As far as I can see, you can't zip using php, although I'm sure there are some command line applications you could call from php.
Only thing closely related is this. Otherwise I'd go with gzipping. _________________
 |
|
Back to top |
 |
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat Oct 08, 2005 8:42 pm Post subject: |
|
|
OK, thanks for the link. I will have a read and see what options I have.
A friend has already tried to use command line on WinZip but found it easier with WinRAR so that might be my best option.
Thanks for the quick reply. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
|
Back to top |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sat Oct 08, 2005 9:17 pm Post subject: |
|
|
Useful but I dont want to use the Zend engine. I prefer my code the way it is. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
 |
|