Hi!
I came across a problem of feeding a zip file to client browser. About 10-20 out of 3000 people were not able do download my zip file when I used this code construction:
header("Content-Length: ".filesize($approot.$filename));
header("Content-Type: application/zip;name=\"$filename\"");
header("Content-Disposition: inline; filename=\"$filename\"");
readfile($approot.$filename);
exit;
I also tried Content-Disposition: attachement; any suggestions? Maybe the type should be application/octet-stream? or application/download? or application/x-zip-compressed?