unzip zip files php script view rar txt download .zip With this script, you can zip all the files and folders in the directory.