I\'m trying to force a download of a protected zip file (I don\'t want people to access it without logging in first.
I have the function created for the login
login
Late answer but maybe useful for users not being able to make force download work. Add the following at the top of your php script
force download
php
<?php apache_setenv('no-gzip', 1); ini_set('zlib.output_compression', 0);