How to upload and zip files ? |
[eluser]pisio[/eluser]
How i can make it to upload and zip one file? After Zipping process save the archive at the host , and delete unzipped files ?
[eluser]cahva[/eluser]
Heres the things you need: File uploading class Zip encoding class ..and finally unlink() for deletion
[eluser]pisio[/eluser]
[quote author="cahva" date="1285907153"]Heres the things you need: File uploading class Zip encoding class ..and finally unlink() for deletion :)[/quote] Only Quote:$name = 'mydata1.txt';I'm not sure. I see $this->zip->download('my_backup.zip'); and I don't want to download it. I'll tray. Sorry for my bad English. TNX !
[eluser]cahva[/eluser]
Read harder There's method called $this->zip->archive() which you are looking for. |
Welcome Guest, Not a member yet? Register Sign In |