Dillion & Amanda 4 Lif Posted June 10, 2010 Share Posted June 10, 2010 Ok, for everyone who will say this is a security risk, it is, but under the right circumstances it can save you some time and be kept away from lurking noobs. http://www.phpclasses.org/package/2322-PHP-Create-ZIP-file-archives-and-serve-for-download.html#download This contains the zip class used, and an example. The example by default zip's your root dir and downloads it for you. I suggest using a subdirectory with an .htaccess that requires username/pass, and blocks any ip that isnt yours. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.