PHP: Quick Un-Zipper


<?php /** * Income Pitbull – Quick UnZipper * Place this in the same directory of the zip file. Then go to the file in your browser, enter the file name in the textbox, and…

hmm

A Simple Server-to-Server File Transfer Script (PHP)


<?php set_time_limit(0); //Unlimited max execution time   $path = ‘newfile.zip’; $url = ‘http://example.com/oldfile.zip’; $newfname = $path; echo ‘Starting Download!<br>’; $file = fopen ($url, “rb”); if($file) { $newf = fopen ($newfname, “wb”); if($newf) while(!feof($file)) { fwrite($newf,…

hmm

PHP: Recursively Zipping Files & Folders to .zip File


https://gist.github.com/toddsby/f98d82314259ec5483d8 <?php /* * PHP: Recursively Backup Files & Folders to ZIP-File * (c) 2012-2014: Marvin Menzerath – http://menzerath.eu * contribution: Drew Toddsby */ // Make sure the script can handle large folders/files ini_set(‘max_execution_time’, 600);…

hmm