What\'s the easiest way to zip, say 2 files, from a folder on the server and force download? Without saving the \"zip\" to the server.
$zip = new ZipArc
itsols If you want to insert the 'Content-Length' do it like this:
$length = filesize($file); header('Content-Length: ' . $length);
I don't know why, but it crashes if you put it in the same line.