How to zip the files in linux using php
How to zip the files in linux using php code ? i want to zip files in a folder using php

See All Responses Below...
Message Rating
Posted on: 28/05/2013
There are builtin command utilities to tar/zip the files in lunux. What you need to do is to create a shell script which calls these utilities based on your requirements. Then call this shell script from PHP. Alternatively you can copy all relevant files to a folder and tar this folder using shell script..

Hope this helps..


Please Login to Post Your Comments
Name (Max. 100 characters)
Please post your comments here
Select Language
Attach File(Max. Size: 2 MB)
A few simple rules when posting your Comments,
  1. Please post only answers relevant to the topic of discussion.
  2. Please dont misuse this site or do not be abusive, offensive, inappropriate,harass anyone on the boards or post ads or spam. Doing so will delete your inappropriate messages and will block or delete your account on this site. 

Academic Projects