note 83219 deleted from function.header by tularis

From: Date: Fri, 04 Apr 2014 11:34:03 +0000
Subject: note 83219 deleted from function.header by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-199184@lists.php.net to get a copy of this message
Note Submitter: kenaniah at bestphp dot net ---- If you are looking to send files such as PDFs or Excel spreadsheets or Microsoft Office documents and are having issues with IE7, IE6, or IE5.5 not being able to open/download the files over an SSL connection, but still need not allow caching, then set these two headers: <?php header("Cache-Control: maxage=1"); //In seconds header("Pragma: public"); ?> Granted, this will cache your file for one second, but it's as close to an un-cached download as you can get when using IE over SSL. Some basic info on the issue can be found here: http://support.microsoft.com/kb/812935

« previous php.notes (#199184) next »