I've got a link that looks like this: http://firstname.lastname@example.org
It hits that page and, provided it gets appropriately validated, it hits this code:
$vivian="update hammons set download_success='Y' where email='$michelle_row[email]'";
header('Content-Disposition: attachment; filename='.$filename);
The "update" part works great and I get the box that asks if I want to save or open the zip file. The problem is, although I can look at my server and see the "1775.zip" file that's over 22MB, when I go to download it, it's 0 bytes.
In other words, everything seems to be in place except for the content of the file.
What am I doing wrong?