Elvis, log files won't download in Chrome. The mime-types seem to be screwed up. Thank you!
What should the headers be?
This is what they are currently set to:
header("Content-Length: ".$size. "bytes");
header("Content-Description: WinBolo Log File");
header("Content-Type: application/winbolologfile");
header("Content-Disposition: attachment; filename=\"$filename\"");
and i thought it was just mah computer....
Any difference between content-length and the actual final download file size causes a "interruption" error in the latest version of Chrome right now, but they're switching it back in the next release. Log downloads work in Chrome dev 14.0.797.0.
http://code.google.com/p/chromium/issues/detail?id=85549
My guess is:
header("Content-Length: ".$size. "bytes");
should be
header('Content-Length: '.$size);
I still get an "interrupted" :(