I’m trying to find a way to create a link that will zip a folder for download.
I’ve been working with this, but it doesn’t seem to work.
Any help is very much appreciated.
$the_dir = '/home/.adcom/j_delong/music.anewlanguage.org/artists/name/album/';
$the_zip = $the_dir.'.zip';
header('Content-Disposition: attachment; filename="Album.zip');