// In order to send a file to the client using Content-Disposition, we have // to remove no-cache and no-store because IE _ignores_ Content-Disposition // if they're used. // (IE7 lets you leave Cache-Control alone, requiring only that Pragma be // cleared. IE6 requires both) function undoCachingHeaders() { Header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); Header('Pragma: IE is too broken to support Content-Disposition properly'); }