I would like to get recommendations for a PHP tool (utility) that zips up files pulled from various locations on a file server (file storage area, the "cloud" of files on the server, if you will).
In addition, this "tool" needs to be integratable to either an existing CMS application (like Drupal) or a custom-made application . . . meaning being able to be a part of the application (like a module for the CMS application).
Thanks for the anticipated ideas, insights, and recommendations.
jc
PHP-based archiving (zipping) tool
Moderator: General Moderators
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
Re: PHP-based archiving (zipping) tool
I know of nothing...usually applications (phpMyAdmin) come with an export funcitonality built in...
The process is fairly simple...
1. Glob all files you wish to save
2. Use a Zip or Tar class to pack the files up
3. Send contents of file to browser for download
The process is fairly simple...
1. Glob all files you wish to save
2. Use a Zip or Tar class to pack the files up
3. Send contents of file to browser for download
Re: PHP-based archiving (zipping) tool
Thanks, Hockey, for your reply.
Yes, what you said is the idea. I am not a PHP guru (yet . . . ha ha), is there a Zip ot Tar class in PHP library to take care of the "packing"?
Thanks,
j
Yes, what you said is the idea. I am not a PHP guru (yet . . . ha ha), is there a Zip ot Tar class in PHP library to take care of the "packing"?
Thanks,
j
Re: PHP-based archiving (zipping) tool
Did you try the manual...?
http://us2.php.net/manual/en/refs.compression.php
How about Google?
http://www.google.com/search?q=php+zip+library
Be resourceful man!
http://us2.php.net/manual/en/refs.compression.php
How about Google?
http://www.google.com/search?q=php+zip+library
Be resourceful man!
Re: PHP-based archiving (zipping) tool
Yes, I have been looking at the documentation on php.net. I was also thinking of (hoping for) an easier-to-deploy utility that I could plug into this CMS app. that I am making so that I don't have to do everything myself (why reinvent the wheel if there is one good one out there?
)
Thanks for the suggestions though
jc
Thanks for the suggestions though
jc