00webhost unzipper script php
Features: Detect zip file automatically Extract zip to custom folder Detect zip file on subfolder Unzipper tools php script <?php /** * The Unzipper extracts .zip or .rar archives and .gz files on webservers. * It's handy if you do not have shell access. E.g. if you want to upload a lot * of files (php framework or image collection) as an archive to save time. * As of version 0.1.0 it also supports creating archives. * * @author Andreas Tasch, at[tec], attec.at * @license GNU GPL v3 * @package attec.toolbox * @version 0.1.1 */ define('VERSION', '0.1.1'); $timestart = microtime(TRUE); $GLOBALS['status'] = array(); $unzipper = new Unzipper; if (isset($_POST['dounzip'])) { // Check if an archive was selected for unzipping. $archive = isset($_POST['zipfile']) ? strip_tags($_POST['zipfile']) : ''; $destination = isset($_POST['extpath']) ? strip_tags($_POST['extpath']) : ''; $...