Hi!
I need to enable a user to download multiple files (all files in the directory). I don't know how to to this. 🙂
I tried
<?
header("Content-Type: application/force-download");
header("Content-Disposition: attachment; filename=\"$filename\"");
?>
on a php document and it worked... for a single file. I want to be able to download multiple files.
Tried looping it inside another PHP Document that gets available files, but return the HEADERS ALREADY SENT error.
Thanks!!!