quote:
Originally posted by MenthiX
Hmm, this sounds interesting....
Because I has a few reports from people who had WinZip and such popping up when downloading from the scripts DB too.
So that code is confirmed to work?:code:
header("Content-Type: application/x-plsc");
header('Content-Disposition: attachment; filename="' . $filename . "');
readfile("$filename");
I think it's just the header "Content-Type: application/x-plsc" that does it.