Web Zipper is a simple php script for creating zip files online by uploading files via a web browser or for viewing and extracting files from an existing zip archive.
It is free to use and modify and licensed under a MIT open source license.
The script is easily to customize with separate language translation files, editable layout template and css stylesheet.
For more information here’s the readme.txt contents:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 |
**************************************** * This script makes of the PclZip library * released under the lgpl by Vincent Blavet * http://www.phpconcept.net * You can obtain updates to the pclzip.lib.php * from http://www.phpconcept.net/pclzip/index.en.php *************************************** *****************************************************************************/ I) Requirements II) Installation III) Customization I) Requirements - recent version of php (4 or 5) - Apache web server (may work on others, not tested though) - php zip extension *recommended* for processing zip archives. If not present, a 3rd party library written in php is used which is slower. - php zlib extension *required* for processing zip archives - reasonably large values specified for the following settings relating to uploading and processing files in your php.ini file - consult your webhost if unsure: - max_input_time - memory_limit - post_max_size - upload_max_filesize II) Installation Installing phpAce Web Zipper is relatively simple. 1) Rename the configuration file "config.php.sample" to "config.php" 2) Edit the "config.php" file with the settings you want to use. 3) Upload all the files to the directory on your server where you want to install the script. 4) Change the permissions on the "temp" directory so that the script can create subdirectories and files in it. Consult your web host if you are unsure of how to do this. The script should now be installed. III) Customization 1) Changing the texts / translating the script - Make a copy of the "default.php" file in the translations directory and save it with a new name (for example "custom.php") - Edit the relevant variables in this file. - Edit the config.php file and enter the name of your translations file without the .php as the value for the $pawz_config['language'] setting, eg. $pawz_config['language'] = 'custom'; It is recommended you edit a copy of this file rather than the original "default.php" so that when updates to the script are released your translations and modifications are not overwritten. 2) Changing the style - You can edit the styles.css file that comes with the script directly, but it is recommended to make a copy of it instead, named for example "mystyles.css" and edit that. You should then edit the $pawz_config['stylesheet'] variable (in the config.php file) with the name of your stylesheet, eg: $pawz_config['stylesheet'] = 'mystyles.css'; Doing this instead of editing the styles.css directly means that your modifications won't be overwritten when installing updates to the script. 3) Editing the layout template - You can either: - directly edit the file "layout.phtml" (not recommended) - or copy it with a new filename, edit that directly, and enter the new filename in the $pawz_config['template'] option in the config.php file. The second option is recommended as your changes will not be overwritten if you update the script to a newer version in the future. *** Support Forum: http://forum.phpace.com/ *** |