Twentyoneth Posted March 23, 2006 Share Posted March 23, 2006 How do you create a zip file and move files into that zip? Quote Link to comment https://forums.phpfreaks.com/topic/5552-zip-files/ Share on other sites More sharing options...
Twentyoneth Posted March 23, 2006 Author Share Posted March 23, 2006 **bump** Quote Link to comment https://forums.phpfreaks.com/topic/5552-zip-files/#findComment-19875 Share on other sites More sharing options...
Twentyoneth Posted March 23, 2006 Author Share Posted March 23, 2006 **bump...again** Ive seen it somewhere on how to do this, but I cant find where I saw it, nor anything on php.net. I dont think I am looking in the right place, can someone please point me in th right direction? Quote Link to comment https://forums.phpfreaks.com/topic/5552-zip-files/#findComment-20029 Share on other sites More sharing options...
keeB Posted March 23, 2006 Share Posted March 23, 2006 [!--quoteo(post=357679:date=Mar 23 2006, 05:27 PM:name=Twentyoneth)--][div class=\'quotetop\']QUOTE(Twentyoneth @ Mar 23 2006, 05:27 PM) [snapback]357679[/snapback][/div][div class=\'quotemain\'][!--quotec--]**bump...again** Ive seen it somewhere on how to do this, but I cant find where I saw it, nor anything on php.net. I dont think I am looking in the right place, can someone please point me in th right direction?[/quote]I don't think anyone appreciates bumping your thread. You cold have googled this or something in the time you've spent. Calm down, people will get to it when they have a chance. I haven't touched .zip files with PHP but I will look in to it, same as you should.Good luck.. Quote Link to comment https://forums.phpfreaks.com/topic/5552-zip-files/#findComment-20051 Share on other sites More sharing options...
Twentyoneth Posted March 23, 2006 Author Share Posted March 23, 2006 Um, it says that you can bump your topic in the little guidelines after a few hours...[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]Twentyoneth Posted Yesterday, 09:44 PM Twentyoneth Posted Today, 04:39 AM Twentyoneth Posted Today, 01:27 PM [/quote]There are about 8 hours between each of those posts.I have googled it and spent some time on my messagers asking my php friends for help, in which most people are busy. I just dont know EXACTLY what to look for. If I search for zip, I get read only. But I need to move files into the zip, and I am almost positive that I have seen on how to do it somewhere. Quote Link to comment https://forums.phpfreaks.com/topic/5552-zip-files/#findComment-20063 Share on other sites More sharing options...
txmedic03 Posted March 23, 2006 Share Posted March 23, 2006 Whether or not the forum rules allow you to bump your thread every few hours is not the point. I know I personally find it very annoying. Should not wait hours but days rather. Quote Link to comment https://forums.phpfreaks.com/topic/5552-zip-files/#findComment-20080 Share on other sites More sharing options...
Twentyoneth Posted March 23, 2006 Author Share Posted March 23, 2006 zip_openzip_readzip_closework if I just want to view a zip file that is already in a directory, but I would like to create a zip file, and copy files into it, Is this possible? Quote Link to comment https://forums.phpfreaks.com/topic/5552-zip-files/#findComment-20141 Share on other sites More sharing options...
Twentyoneth Posted March 25, 2006 Author Share Posted March 25, 2006 If I had a premade zip file, is there a way I could copy files into it, and then after download, delete the contents of the zip? Quote Link to comment https://forums.phpfreaks.com/topic/5552-zip-files/#findComment-20486 Share on other sites More sharing options...
Hooker Posted March 25, 2006 Share Posted March 25, 2006 try looking here:[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--][a href=\"http://www.zend.com/codex.php?id=696&single=1\" target=\"_blank\"]http://www.zend.com/codex.php?id=696&single=1[/a][/quote]this is a pretty old class and its not hard to find on google searching "php zip file" :) ive used it in the past and its pretty good. Quote Link to comment https://forums.phpfreaks.com/topic/5552-zip-files/#findComment-20488 Share on other sites More sharing options...
norman100 Posted March 25, 2006 Share Posted March 25, 2006 [!--quoteo(post=358158:date=Mar 25 2006, 01:42 AM:name=Hooker)--][div class=\'quotetop\']QUOTE(Hooker @ Mar 25 2006, 01:42 AM) [snapback]358158[/snapback][/div][div class=\'quotemain\'][!--quotec--]try looking here:this is a pretty old class and its not hard to find on google searching "php zip file" :) ive used it in the past and its pretty good.[/quote]Hi there Ive used a class where you can loop through the contents of a directory and then and have it generate a zip file on the fly when the user presses a button ?Is that what you are looking fornirmal Quote Link to comment https://forums.phpfreaks.com/topic/5552-zip-files/#findComment-20566 Share on other sites More sharing options...
Twentyoneth Posted March 25, 2006 Author Share Posted March 25, 2006 That is exactly what I am looking for! But I will have to tweak it to loop through the whole site and copy the files, sorta like a backup, where I can store another copy on my external HD. Quote Link to comment https://forums.phpfreaks.com/topic/5552-zip-files/#findComment-20594 Share on other sites More sharing options...
norman100 Posted March 25, 2006 Share Posted March 25, 2006 Hi there That can be done, but to be honest im not really willing to document the whole procedure here if you wont to query me about such procedures im available on msn messanger nokia_buyer@hotmail.comnirmal Quote Link to comment https://forums.phpfreaks.com/topic/5552-zip-files/#findComment-20636 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.