I've just upgraded a client's SSL website to Joomla 2.5.9 and installed Phoca Download 2.1.8 - GREAT extension btw!

My client is experiencing the following challenge - they are using IE6 <sigh>
When they click on the Download link, they are only given one option... "SAVE". They'd like their browser to "OPEN" the file right away, rather than having to save it to their computer first in order to open it.
I understand the following code may have something to do with this --- taken from components/com_phocadownload/helpers/phocadownload.php
Code: Select all
// test for protocol and set the appropriate headers
jimport( 'joomla.environment.uri' );
$_tmp_uri = &JURI::getInstance( JURI::current() );
$_tmp_protocol = $_tmp_uri->getScheme();
if ($_tmp_protocol == "https") {
// SSL Support
header('Cache-Control: private, max-age=0, must-revalidate, no-store');
} else {
header("Cache-Control: public, must-revalidate");
header('Cache-Control: pre-check=0, post-check=0, max-age=0');
header("Pragma: no-cache");
header("Expires: 0");
} /* end if protocol https */
header("Content-Description: File Transfer");
header("Expires: Sat, 30 Dec 1990 07:07:07 GMT");
header("Accept-Ranges: bytes");
Thanks so much for your help!
Jen