title: compress/archive folder using php script
body: <p>Is there a way to compress/archive a folder in the server using php script to .zip  or  .rar or to any other compressed format, so that on request we could archive the folder and then give the download link</p>
  
  <p>Thanks in advance</p>