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
I bet two beers that a PHP error occurs, and the error message messes up the ZIP file. The requested file probably doesn't exist.
Open the ZIP file with notepad or a similar text editor, and find out what's wrong.