Hi,
I have more than 3000 folders with their relevant contents and I want to create zip for each individual folder with their folder name.
Can you guide me how to achieve this by using php?
Raj
http://www.bangalorespice.com
create a zip folder by using php.
Moderator: General Moderators
-
rajeshatbuzz
- Forum Newbie
- Posts: 1
- Joined: Sat Sep 20, 2008 5:40 pm
Re: create a zip folder by using php.
PHP would surely not be my language of choice to do file system maintenance. PHP is a web server preprocessor language, used to create web pages on the Internet.rajeshatbuzz wrote:Hi,
I have more than 3000 folders with their relevant contents and I want to create zip for each individual folder with their folder name.
Can you guide me how to achieve this by using php?
Raj
http://www.bangalorespice.com
Re: create a zip folder by using php.
Code: Select all
escape( 'zip -r '.escapeShellArg($nameOfZipfile).' directory/');http://us.php.net/zip