├── testFiles ├── 1.jpg ├── 2.jpg └── 3.jpg ├── README.md └── index.php /testFiles/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArturGrigio/php-Zip-Download-of-Large-Files-using-Buffer/HEAD/testFiles/1.jpg -------------------------------------------------------------------------------- /testFiles/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArturGrigio/php-Zip-Download-of-Large-Files-using-Buffer/HEAD/testFiles/2.jpg -------------------------------------------------------------------------------- /testFiles/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArturGrigio/php-Zip-Download-of-Large-Files-using-Buffer/HEAD/testFiles/3.jpg -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | #Zip Files for Download using the buffer 2 | 3 | This rep will allows you to create a zip file on the clients device without creating a zip file on the server, and is very light in sense of processing overhead. 4 | 5 | ##Possible Uses 6 | 7 | * If you have several files and the user has to pick the ones he wants before download, this rep will allow you to force a download instantly (without creating a zip file on the server first). 8 | * If you have large files to serve to the client. 9 | 10 | Credits to: [Lee on StackOverflow](http://stackoverflow.com/users/416630/lee) for help. -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | --------------------------------------------------------------------------------