Jump to content


Photo

Zip files


  • Please log in to reply
11 replies to this topic

#1 Twentyoneth

Twentyoneth
  • Members
  • PipPipPip
  • Advanced Member
  • 118 posts
  • LocationGlasgow, KY

Posted 23 March 2006 - 01:44 AM

How do you create a zip file and move files into that zip?

#2 Twentyoneth

Twentyoneth
  • Members
  • PipPipPip
  • Advanced Member
  • 118 posts
  • LocationGlasgow, KY

Posted 23 March 2006 - 08:39 AM

**bump**

#3 Twentyoneth

Twentyoneth
  • Members
  • PipPipPip
  • Advanced Member
  • 118 posts
  • LocationGlasgow, KY

Posted 23 March 2006 - 05:27 PM

**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?

#4 keeB

keeB
  • Staff Alumni
  • Advanced Member
  • 1,078 posts
  • LocationCalifornia

Posted 23 March 2006 - 06:13 PM

[!--quoteo(post=357679:date=Mar 23 2006, 05:27 PM:name=Twentyoneth)--][div class=\'quotetop\']QUOTE(Twentyoneth @ Mar 23 2006, 05:27 PM) View Post[/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..

Come visit my site to see my latest projects
http://nick.stinemates.org/wordpress/


#5 Twentyoneth

Twentyoneth
  • Members
  • PipPipPip
  • Advanced Member
  • 118 posts
  • LocationGlasgow, KY

Posted 23 March 2006 - 06:27 PM

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.

#6 txmedic03

txmedic03
  • Members
  • PipPipPip
  • Advanced Member
  • 313 posts
  • LocationCall, TX, USA

Posted 23 March 2006 - 07:04 PM

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.

SEMPER FIDELIS!

I can't stop you from doing something silly, but at least I can help you do it right.


#7 Twentyoneth

Twentyoneth
  • Members
  • PipPipPip
  • Advanced Member
  • 118 posts
  • LocationGlasgow, KY

Posted 23 March 2006 - 11:14 PM

zip_open
zip_read
zip_close

work 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?

#8 Twentyoneth

Twentyoneth
  • Members
  • PipPipPip
  • Advanced Member
  • 118 posts
  • LocationGlasgow, KY

Posted 25 March 2006 - 06:30 AM

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?

#9 Hooker

Hooker
  • Members
  • PipPipPip
  • Advanced Member
  • 193 posts
  • LocationWales, UK

Posted 25 March 2006 - 06:42 AM

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.

#10 norman100

norman100
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 25 March 2006 - 03:52 PM

[!--quoteo(post=358158:date=Mar 25 2006, 01:42 AM:name=Hooker)--][div class=\'quotetop\']QUOTE(Hooker @ Mar 25 2006, 01:42 AM) View Post[/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 for

nirmal

#11 Twentyoneth

Twentyoneth
  • Members
  • PipPipPip
  • Advanced Member
  • 118 posts
  • LocationGlasgow, KY

Posted 25 March 2006 - 05:06 PM

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.

#12 norman100

norman100
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 25 March 2006 - 06:13 PM

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.com

nirmal




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users